From 4bf217b97ca4eae77f17f5fa3b0d5b3b31ae43b6 Mon Sep 17 00:00:00 2001 From: Elliott Foster Date: Thu, 8 Dec 2016 17:50:45 -0600 Subject: [PATCH] fix(lint): Fix lint errors --- bin/jsonapi-validator.js | 3 +-- test/index.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/jsonapi-validator.js b/bin/jsonapi-validator.js index 1f612b7..36d00e0 100755 --- a/bin/jsonapi-validator.js +++ b/bin/jsonapi-validator.js @@ -34,8 +34,7 @@ catch (e) { console.error(` ${message.message}.`); console.error(` schemaPath: ${message.schemaPath}`); Object.keys(message.params).forEach(param => console.error( - ` ${param}: ${message.params[param]}` - )); + ` ${param}: ${message.params[param]}`)); }); } process.exit(1); diff --git a/test/index.js b/test/index.js index 8479360..199cb72 100644 --- a/test/index.js +++ b/test/index.js @@ -36,8 +36,7 @@ module.exports = { test.equal( e.errors[0].message, 'should have required property \'data\'', - 'Unexpected error reported.' - ); + 'Unexpected error reported.'); } test.done();