From d9ab8d3f62576bba4072705f0c2790ecbef33718 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 14 Feb 2020 16:48:14 -0500 Subject: [PATCH] lint compliance --- scripts/migrations/migrate-tasks-v1.js | 2 +- scripts/tests/test-pins.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/migrations/migrate-tasks-v1.js b/scripts/migrations/migrate-tasks-v1.js index 87807c74d..40b8d7a87 100644 --- a/scripts/migrations/migrate-tasks-v1.js +++ b/scripts/migrations/migrate-tasks-v1.js @@ -7,7 +7,7 @@ var config = require("../../lib/load-config"); // this isn't strictly necessary for what we want to do // but the API requires it, and I don't feel like changing that // --ansuz -var FileStorage = require("../../lib/storage/file")); +var FileStorage = require("../../lib/storage/file"); var tasks; nThen(function (w) { diff --git a/scripts/tests/test-pins.js b/scripts/tests/test-pins.js index eea164230..712fe621b 100644 --- a/scripts/tests/test-pins.js +++ b/scripts/tests/test-pins.js @@ -30,7 +30,8 @@ var handler = function (ref, id /* safeKey */, pinned) { //console.log(ref, id); }; -Pins.list(function (err, pinned) { +Pins.list(function (err) { + if (err) { return void console.error(err); } /* for (var id in pinned) { console.log(id);