From cdd433a9548ae8e9ec3a99716b0fa709fc4cd949 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Mon, 7 May 2018 12:53:31 -0400 Subject: [PATCH] Overeager glob --- script/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/test b/script/test index c6c3a6a61..64688daa1 100755 --- a/script/test +++ b/script/test @@ -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') {