This commit is contained in:
velzie 2024-07-17 20:22:42 -04:00
parent 7d9842bdfb
commit 4c4b194fc0
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -12,7 +12,7 @@ import { baremuxPath } from "@mercuryworkshop/bare-mux/node";
import { epoxyPath } from "@mercuryworkshop/epoxy-transport"; import { epoxyPath } from "@mercuryworkshop/epoxy-transport";
import { libcurlPath } from "@mercuryworkshop/libcurl-transport"; import { libcurlPath } from "@mercuryworkshop/libcurl-transport";
import { bareModulePath } from "@mercuryworkshop/bare-as-module3"; import { bareModulePath } from "@mercuryworkshop/bare-as-module3";
import { writeFileSync } from "fs"; import { chmodSync, writeFileSync } from "fs";
const bare = createBareServer("/bare/", { const bare = createBareServer("/bare/", {
logErrors: true, logErrors: true,
@ -74,6 +74,8 @@ fastify.listen({
writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w"); writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w");
chmodSync(".git/hooks/pre-commit", 0o755);