Skip to content

Commit 16ca414

Browse files
committed
test: fix binary file permissions
1 parent 012c9e2 commit 16ca414

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

e2e/utils/binary.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import { resolve } from "node:path";
22
import packageJson from "../../package.json";
3+
import { $ } from "execa";
34

45
export const CONVER = resolve(packageJson.bin.conver);
6+
7+
if (process.platform !== "win32") {
8+
await $`chmod +x ${CONVER}`;
9+
}

0 commit comments

Comments
 (0)