Skip to content
Snippets Groups Projects
Unverified Commit 77bd3895 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: RENOVATE_X_CLEAR_HOOKS

parent 3f33995a
No related merge requests found
......@@ -377,6 +377,10 @@ export function isCloned(): boolean {
export async function syncGit(): Promise<void> {
if (gitInitialized) {
// istanbul ignore if
if (process.env.RENOVATE_X_CLEAR_HOOKS) {
await git.raw(['config', 'core.hooksPath', '/dev/null']);
}
return;
}
gitInitialized = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment