Skip to content

Commit

Permalink
Merge pull request #344 from electron-userland/fix-dot-notation
Browse files Browse the repository at this point in the history
Escape dot in ".git" correctly
  • Loading branch information
malept committed Apr 24, 2016
2 parents c072f1c + 56889d0 commit 96e0856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ module.exports = function packager (opts, cb) {
}

// Ignore this and related modules by default
var defaultIgnores = ['/node_modules/electron-prebuilt($|/)', '/node_modules/electron-packager($|/)', '/\.git($|/)', '/node_modules/\\.bin($|/)']
var defaultIgnores = ['/node_modules/electron-prebuilt($|/)', '/node_modules/electron-packager($|/)', '/\\.git($|/)', '/node_modules/\\.bin($|/)']

if (typeof (opts.ignore) !== 'function') {
if (opts.ignore && !Array.isArray(opts.ignore)) opts.ignore = [opts.ignore]
Expand Down

0 comments on commit 96e0856

Please sign in to comment.