@@ -49,15 +49,15 @@ const resourcePath = CONFIG.repositoryRootPath
49
49
let executablePath
50
50
if ( process . platform === 'darwin' ) {
51
51
const executablePaths = glob . sync ( path . join ( CONFIG . buildOutputPath , '*.app' ) )
52
- assert ( executablePaths . length === 1 , `More than one application to run tests against was found. ${ executablePaths . join ( ',' ) } ` )
52
+ assert ( executablePaths . length === 1 , `A single application to run tests against was not found. ${ executablePaths . join ( ',' ) } ` )
53
53
executablePath = path . join ( executablePaths [ 0 ] , 'Contents' , 'MacOS' , path . basename ( executablePaths [ 0 ] , '.app' ) )
54
54
} else if ( process . platform === 'linux' ) {
55
55
const executablePaths = glob . sync ( path . join ( CONFIG . buildOutputPath , 'atom-*' , 'atom' ) )
56
- assert ( executablePaths . length === 1 , `More than one application to run tests against was found. ${ executablePaths . join ( ',' ) } ` )
56
+ assert ( executablePaths . length === 1 , `A single application to run tests against was not found. ${ executablePaths . join ( ',' ) } ` )
57
57
executablePath = executablePaths [ 0 ]
58
58
} else if ( process . platform === 'win32' ) {
59
59
const executablePaths = glob . sync ( path . join ( CONFIG . buildOutputPath , '**' , 'atom*.exe' ) )
60
- assert ( executablePaths . length === 1 , `More than one application to run tests against was found. ${ executablePaths . join ( ',' ) } ` )
60
+ assert ( executablePaths . length === 1 , `A single application to run tests against was not found. ${ executablePaths . join ( ',' ) } ` )
61
61
executablePath = executablePaths [ 0 ]
62
62
} else {
63
63
throw new Error ( '##[error] Running tests on this platform is not supported.' )
0 commit comments