Skip to content

Commit a71b951

Browse files
authoredJan 15, 2025··
fix: correct blockPrettier .husky/pre-commit mode to 33279 / -rwxrwxrwx (#1876)
# PR Checklist - [x] Addresses an existing open issue: fixes #1875 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview 🤷
1 parent e49f518 commit a71b951

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/next/blocks/blockPrettier.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe("blockPrettier", () => {
9494
"npx lint-staged
9595
",
9696
{
97-
"mode": 1911,
97+
"mode": 33279,
9898
},
9999
],
100100
},
@@ -206,7 +206,7 @@ describe("blockPrettier", () => {
206206
"npx lint-staged
207207
",
208208
{
209-
"mode": 1911,
209+
"mode": 33279,
210210
},
211211
],
212212
},
@@ -335,7 +335,7 @@ describe("blockPrettier", () => {
335335
"npx lint-staged
336336
",
337337
{
338-
"mode": 1911,
338+
"mode": 33279,
339339
},
340340
],
341341
},

‎src/next/blocks/blockPrettier.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pnpm format --write
9595
files: {
9696
".husky": {
9797
".gitignore": "_\n",
98-
"pre-commit": ["npx lint-staged\n", { mode: 0x777 }],
98+
"pre-commit": ["npx lint-staged\n", { mode: 33279 }],
9999
},
100100
".prettierignore": formatIgnoreFile(
101101
["/.husky", "/lib", "/pnpm-lock.yaml", ...ignores].sort(),

0 commit comments

Comments
 (0)
Please sign in to comment.