customize first id

This commit is contained in:
codetypes committed 2025-03-12 20:03:58 +08:00
1 parent 0571d2fc04
commit fb889a01c8
10 files changed
+56 -41

No files matched your search

+1 -1
View File
@@ -20,5 +20,5 @@ else
exit 1
fi
`;
fs.writeFileSync(".git/hooks/pre-commit", hooks);
fs.writeFileSync(".git/hooks/pre-commit", hooks.replace(/^[\n\r]+/, ""));
fs.chmodSync(".git/hooks/pre-commit", 0o755);