Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
4 changed files with
4 additions and
0 deletions
-
bin/now-alias.js
-
bin/now-dns.js
-
bin/now-domains.js
-
lib/index.js
|
|
@ -25,6 +25,7 @@ const argv = minimist(process.argv.slice(2), { |
|
|
|
token: 't' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
const subcommand = argv._[0] |
|
|
|
|
|
|
|
// options
|
|
|
|
|
|
@ -24,6 +24,7 @@ const argv = minimist(process.argv.slice(2), { |
|
|
|
token: 't' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
const subcommand = argv._[0] |
|
|
|
|
|
|
|
// options
|
|
|
|
|
|
@ -26,6 +26,7 @@ const argv = minimist(process.argv.slice(2), { |
|
|
|
token: 't' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
const subcommand = argv._[0] |
|
|
|
|
|
|
|
// options
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|