Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Add HTTPS to jslinterrors.com links (#297)
Browse files Browse the repository at this point in the history
* Add HTTPS to jslinterrors.com
  • Loading branch information
rugk authored and Arcanemagus committed Jun 30, 2016
1 parent 92a0ace commit 5809510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module.exports = {

results.push({
type: errorType === 'E' ? 'Error' : errorType === 'W' ? 'Warning' : 'Info',
html: `<a href="http://jslinterrors.com/${error.code}">${error.code}</a> - ${error.reason}`,
html: `<a href="https://jslinterrors.com/${error.code}">${error.code}</a> - ${error.reason}`,
filePath,
range
})
Expand Down
4 changes: 2 additions & 2 deletions spec/linter-jshint-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('The JSHint provider for Linter', () => {
})

it('verifies the first message', () => {
const message = '<a href="http://jslinterrors.com/W016">W016</a>' +
const message = '<a href="https://jslinterrors.com/W016">W016</a>' +
" - Unexpected use of '&'."
waitsForPromise(() =>
lint(editor).then(messages => {
Expand Down Expand Up @@ -87,7 +87,7 @@ describe('The JSHint provider for Linter', () => {
})

it('verifies the first message', () => {
const message = '<a href="http://jslinterrors.com/E006">E006</a>' +
const message = '<a href="https://jslinterrors.com/E006">E006</a>' +
' - Unexpected early end of program.'
waitsForPromise(() =>
lint(editor).then(messages => {
Expand Down

0 comments on commit 5809510

Please sign in to comment.