mirror of
https://github.com/atom/atom.git
synced 2026-01-14 17:38:03 -05:00
Overeager glob
This commit is contained in:
@@ -22,7 +22,7 @@ if (process.platform === 'darwin') {
|
||||
assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`)
|
||||
executablePath = path.join(executablePaths[0], 'Contents', 'MacOS', path.basename(executablePaths[0], '.app'))
|
||||
} else if (process.platform === 'linux') {
|
||||
const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, '**', 'atom'))
|
||||
const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, 'atom-*', 'atom'))
|
||||
assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`)
|
||||
executablePath = executablePaths[0]
|
||||
} else if (process.platform === 'win32') {
|
||||
|
||||
Reference in New Issue
Block a user