mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
chmod
This commit is contained in:
parent
7d9842bdfb
commit
4c4b194fc0
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@ import { baremuxPath } from "@mercuryworkshop/bare-mux/node";
|
|||
import { epoxyPath } from "@mercuryworkshop/epoxy-transport";
|
||||
import { libcurlPath } from "@mercuryworkshop/libcurl-transport";
|
||||
import { bareModulePath } from "@mercuryworkshop/bare-as-module3";
|
||||
import { writeFileSync } from "fs";
|
||||
import { chmodSync, writeFileSync } from "fs";
|
||||
|
||||
const bare = createBareServer("/bare/", {
|
||||
logErrors: true,
|
||||
|
@ -74,6 +74,8 @@ fastify.listen({
|
|||
|
||||
|
||||
writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w");
|
||||
chmodSync(".git/hooks/pre-commit", 0o755);
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue