mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
* 🐛 fix(githook.ts): fix HOOK_PATH import URL
The HOOK_PATH import URL was incorrect and has been fixed to point to the correct location.
This commit is contained in:
@@ -20,7 +20,9 @@ export const hookCommand = command(
|
||||
parameters: ['<set/unset>']
|
||||
},
|
||||
async (argv) => {
|
||||
const HOOK_PATH = fileURLToPath(new URL('out/cli.cjs', import.meta.url));
|
||||
const HOOK_PATH = fileURLToPath(
|
||||
new URL('../../out/cli.cjs', import.meta.url)
|
||||
);
|
||||
|
||||
try {
|
||||
await assertGitRepo();
|
||||
|
||||
Reference in New Issue
Block a user