mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
style
This commit is contained in:
parent
3c4bcbfc41
commit
a2f3c1c707
4
index.js
4
index.js
@ -32,9 +32,9 @@ module.exports = function packager (opts, cb) {
|
||||
}
|
||||
|
||||
// Ignore this and related modules by default
|
||||
var default_ignores = ['node_modules/electron-prebuilt', 'node_modules/electron-packager', '.git']
|
||||
var defaultIgnores = ['node_modules/electron-prebuilt', 'node_modules/electron-packager', '.git']
|
||||
if (opts.ignore && !Array.isArray(opts.ignore)) opts.ignore = [opts.ignore]
|
||||
opts.ignore = (opts.ignore) ? opts.ignore.concat(default_ignores) : default_ignores
|
||||
opts.ignore = (opts.ignore) ? opts.ignore.concat(defaultIgnores) : defaultIgnores
|
||||
|
||||
download({
|
||||
platform: platform,
|
||||
|
Loading…
Reference in New Issue
Block a user