Skip to content

Commit 1cd8451

Browse files
authored
Update runTests.ps1
1 parent 83741cc commit 1cd8451

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

runTests.ps1

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ try
1111
else
1212
{
1313
$env:NEOCTRL_ARGS="$args"
14-
Write-Host "$args"
1514
npm run start-neo4j
1615
}
1716

1817
npm test
19-
if(-Not ($?)) #failed to execute npm test
18+
if($LastExitCode -ne 0) #failed to execute npm test without error
2019
{
2120
$ErrorFound = $True
2221
}

0 commit comments

Comments
 (0)