Skip to content

Commit 9f7725f

Browse files
committed
Fix printing of screen size in output
1 parent 7c0bc5d commit 9f7725f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function startXvfb(env) {
106106
console.log("sleep for 1000ms");
107107
yield sleep(1000);
108108
console.log("::endgroup::");
109-
return [result[0], result[1]];
109+
return [result[0], result[1], result[2]];
110110
}
111111
else {
112112
console.log("::endgroup::");

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function startXvfb(env: { [key: string]: string }): Promise<string[]> {
8282
console.log("sleep for 1000ms");
8383
await sleep(1000);
8484
console.log("::endgroup::");
85-
return [result[0], result[1]];
85+
return [result[0], result[1], result[2]];
8686
} else {
8787
console.log("::endgroup::");
8888
throw new Error(`failed to start Xvfb, exit code '${output.exitCode}'`);

0 commit comments

Comments
 (0)