From afafe59d24d6593f70f1459c586f21da45f66c91 Mon Sep 17 00:00:00 2001 From: Matt Gaunt Date: Fri, 23 Sep 2016 22:08:45 -0700 Subject: [PATCH] Fixing for node 4 --- src/cli.js | 1 + test/test-cli.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.js b/src/cli.js index 9a562990..b6ac8fee 100755 --- a/src/cli.js +++ b/src/cli.js @@ -1,5 +1,6 @@ #! /usr/bin/env node /* eslint consistent-return:0*/ +'use strict'; const webPush = require('../src/index.js'); diff --git a/test/test-cli.js b/test/test-cli.js index a6facb8c..0868c76d 100644 --- a/test/test-cli.js +++ b/test/test-cli.js @@ -13,7 +13,7 @@ const cliPath = 'src/cli.js'; - suite('Test Encryption Helpers', function() { + suite('Test CLI', function() { test('no args run', function() { return new Promise(function(resolve) { const webpushCLISpawn = spawn('node', [