Skip to content

Commit f231507

Browse files
committed
Log the execSync result for debugging
1 parent ea75f4d commit f231507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ function run() {
6060

6161
try {
6262
if (setupCommand) {
63-
execSync(setupCommand, {timeout})
63+
execSync(setupCommand, {timeout, env, stdio: 'inherit'})
6464
}
6565

6666
startTime = new Date()
67-
output = execSync(command, {timeout, env}).toString()
67+
output = execSync(command, {timeout, env, stdio: 'inherit'}).toString()
6868
endTime = new Date()
6969

7070
result = generateResult('pass', testName, command, output, endTime - startTime, maxScore)

0 commit comments

Comments
 (0)