Skip to content

Commit be29e10

Browse files
committed
ci: fix macos caffeinate test script
1 parent 9794abc commit be29e10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/vsts/platforms/templates/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ steps:
99
# Test
1010
if ($env:AGENT_OS -eq "Darwin") {
1111
osascript -e 'tell application "System Events" to keystroke "x"' # clear screen saver
12-
caffeinate -s 'node ./script/test.js' # Run with caffeinate to prevent screen saver
12+
caffeinate -s './script/test.js' # Run with caffeinate to prevent screen saver. node shabang is automatically used.
1313
} else {
1414
node ./script/test.js
1515
}

0 commit comments

Comments
 (0)