Skip to content

Commit 3ad8130

Browse files
committed
fix: update mismatch on patch
1 parent bdb7bff commit 3ad8130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function apply_patch(base_path, patch_path, output_path) {
2323
throw new Error(`patch_path (${patch_path}) does not exist`)
2424
}
2525

26-
await execSync(`patch ${output_path} ${patch_path} -R`);
26+
await execSync(`patch -i ${patch_path} ${output_path} -R --no-backup-if-mismatch`);
2727
}
2828

2929
module.exports = { apply_patch }

0 commit comments

Comments
 (0)