From 5809510d7a8674baa7b3b2fc53e76a2dabb66c40 Mon Sep 17 00:00:00 2001 From: rugk Date: Fri, 1 Jul 2016 01:59:09 +0200 Subject: [PATCH] Add HTTPS to jslinterrors.com links (#297) * Add HTTPS to jslinterrors.com --- lib/main.js | 2 +- spec/linter-jshint-spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.js b/lib/main.js index 8bbf3ba..da34646 100644 --- a/lib/main.js +++ b/lib/main.js @@ -165,7 +165,7 @@ module.exports = { results.push({ type: errorType === 'E' ? 'Error' : errorType === 'W' ? 'Warning' : 'Info', - html: `${error.code} - ${error.reason}`, + html: `${error.code} - ${error.reason}`, filePath, range }) diff --git a/spec/linter-jshint-spec.js b/spec/linter-jshint-spec.js index 3c451dd..b7ce63c 100644 --- a/spec/linter-jshint-spec.js +++ b/spec/linter-jshint-spec.js @@ -42,7 +42,7 @@ describe('The JSHint provider for Linter', () => { }) it('verifies the first message', () => { - const message = 'W016' + + const message = 'W016' + " - Unexpected use of '&'." waitsForPromise(() => lint(editor).then(messages => { @@ -87,7 +87,7 @@ describe('The JSHint provider for Linter', () => { }) it('verifies the first message', () => { - const message = 'E006' + + const message = 'E006' + ' - Unexpected early end of program.' waitsForPromise(() => lint(editor).then(messages => {