@@ -49,15 +49,15 @@ const resourcePath = CONFIG.repositoryRootPath
4949let executablePath
5050if ( process . platform === 'darwin' ) {
5151 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 ( ',' ) } ` )
5353 executablePath = path . join ( executablePaths [ 0 ] , 'Contents' , 'MacOS' , path . basename ( executablePaths [ 0 ] , '.app' ) )
5454} else if ( process . platform === 'linux' ) {
5555 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 ( ',' ) } ` )
5757 executablePath = executablePaths [ 0 ]
5858} else if ( process . platform === 'win32' ) {
5959 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 ( ',' ) } ` )
6161 executablePath = executablePaths [ 0 ]
6262} else {
6363 throw new Error ( '##[error] Running tests on this platform is not supported.' )
0 commit comments