mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Handle temp module version divergence
This commit is contained in:
@@ -37,6 +37,7 @@ module.exports = function (packagedAppPath) {
|
||||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'minimatch', 'minimatch.js')) ||
|
||||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'request', 'index.js')) ||
|
||||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'request', 'request.js')) ||
|
||||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'temp', 'lib', 'temp.js')) ||
|
||||
requiredModuleRelativePath === path.join('..', 'exports', 'atom.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'src', 'electron-shims.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'atom-keymap', 'lib', 'command-event.js') ||
|
||||
@@ -60,7 +61,6 @@ module.exports = function (packagedAppPath) {
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'spelling-manager', 'node_modules', 'natural', 'lib', 'natural', 'index.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tar', 'tar.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'ls-archive', 'node_modules', 'tar', 'tar.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'temp', 'lib', 'temp.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tmp', 'lib', 'tmp.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tree-sitter', 'index.js') ||
|
||||
requiredModuleRelativePath === path.join('..', 'node_modules', 'yauzl', 'index.js') ||
|
||||
|
||||
Reference in New Issue
Block a user