From b997c71dd4c30703b7ebd49cb2f365e59816e59d Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Wed, 11 Jan 2017 15:01:42 +0100 Subject: [PATCH] Contextual newlines added --- bin/now-alias.js | 1 + bin/now-dns.js | 1 + bin/now-domains.js | 1 + lib/index.js | 1 + 4 files changed, 4 insertions(+) diff --git a/bin/now-alias.js b/bin/now-alias.js index c8039b6..a66a7c9 100755 --- a/bin/now-alias.js +++ b/bin/now-alias.js @@ -25,6 +25,7 @@ const argv = minimist(process.argv.slice(2), { token: 't' } }) + const subcommand = argv._[0] // options diff --git a/bin/now-dns.js b/bin/now-dns.js index b56fca2..b521350 100755 --- a/bin/now-dns.js +++ b/bin/now-dns.js @@ -24,6 +24,7 @@ const argv = minimist(process.argv.slice(2), { token: 't' } }) + const subcommand = argv._[0] // options diff --git a/bin/now-domains.js b/bin/now-domains.js index a1b87e2..a039583 100755 --- a/bin/now-domains.js +++ b/bin/now-domains.js @@ -26,6 +26,7 @@ const argv = minimist(process.argv.slice(2), { token: 't' } }) + const subcommand = argv._[0] // options diff --git a/lib/index.js b/lib/index.js index 2de724f..4cd6e99 100644 --- a/lib/index.js +++ b/lib/index.js @@ -129,6 +129,7 @@ module.exports = class Now extends EventEmitter { // array has a group of files with the same sha but different path const files = await Promise.all(Array.prototype.concat.apply([], await Promise.all((Array.from(this._files)).map(async ([sha, {data, names}]) => { const statFn = followSymlinks ? stat : lstat + return await names.map(async name => { let mode