Skip to content

Commit 73dd572

Browse files
committed
fix: set chmod for ci-check.sh file on synth
1 parent 8f2ee66 commit 73dd572

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

skeleton/base/ci-check.sh

100644100755
File mode changed.

src/synth.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cp, mkdir, readFile, rename, writeFile } from "node:fs/promises";
1+
import { chmod, cp, mkdir, readFile, rename, writeFile } from "node:fs/promises";
22
import path from "node:path";
33
import { fileURLToPath } from "node:url";
44
import merge from "deepmerge";
@@ -146,6 +146,8 @@ export const synthProject = async (
146146
await rename(rmExtPath, newPath);
147147
}
148148

149+
await chmod(path.join(projectPath, "ci-check.sh"), 0o744);
150+
149151
await execute(context.stdout, "pnpm", ["install"], { cwd: projectPath });
150152
await execute(context.stdout, "pnpm", ["biome", "check", ".", "--write"], {
151153
cwd: projectPath,

0 commit comments

Comments
 (0)