()
| 60 | ); |
| 61 | write(".gitignore", "node_modules\n"); |
| 62 | const commit = () => { |
| 63 | git("add", "."); |
| 64 | git("commit", "--quiet", "-m", "fixture"); |
| 65 | return git("rev-parse", "HEAD"); |
| 66 | }; |
| 67 | const installHook = () => { |
| 68 | copyFileSync(join(root, "lefthook.yml"), join(cwd, "lefthook.yml")); |
| 69 | write( |