Also exclude Dugite's copy of git

This commit is contained in:
Paul Betts 2017-06-02 13:41:39 -07:00
parent 33f5cdd7b3
commit 440bd7e7d8

View File

@ -60,8 +60,9 @@ const EXCLUDE_REGEXPS_SOURCES = [
escapeRegExp(path.sep) + '.+\\.(cc|h)$',
// Shell scripts need to be outside of ASAR because Git will call them
// directly
// directly. Dugite also needs to be excluded
escapeRegExp(path.join('node_modules', 'github', 'bin')),
escapeRegExp(path.join('node_modules', 'dugite', 'git')),
// Ignore build files
escapeRegExp(path.sep) + 'binding\\.gyp$',