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);