File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 7
7
" src/migrate/index.ts" ,
8
8
" script/*e2e.js"
9
9
],
10
- "ignoreBinaries" : [" gh" ],
10
+ "ignoreBinaries" : [" chmod " , " gh" ],
11
11
"ignoreExportsUsedInFile" : {
12
12
"interface" : true ,
13
13
"type" : true
Original file line number Diff line number Diff line change
1
+ import { $ } from "execa" ;
2
+
1
3
import { Options } from "../../shared/types.js" ;
2
4
import { createStructure } from "./creation/index.js" ;
3
5
import { writeStructureWorker } from "./writeStructureWorker.js" ;
4
6
5
7
export async function writeStructure ( options : Options ) {
6
8
await writeStructureWorker ( await createStructure ( options ) , "." ) ;
9
+
10
+ // https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/718
11
+ await $ `chmod ug+x .husky/pre-commit` ;
7
12
}
You can’t perform that action at this time.
0 commit comments