Skip to content

Commit ecebe34

Browse files
committed
fix ts
1 parent 65333a2 commit ecebe34

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/index.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ import { StrategyStatus } from "git-json-resolver";
55
const run = (fn: any, ours: any, theirs: any) => fn({ ours, theirs, base: undefined, path: [] });
66

77
const reset = (overrides: any = {}) => {
8-
// @ts-ignore -- ts gone mad
9-
plugin.init({
8+
plugin.init?.({
109
strict: true,
1110
normalize: true,
1211
fallback: "continue",
1312
preferValid: true,
1413
preferRange: false,
15-
workspacePattern: "",
1614
...overrides,
1715
});
1816
};

0 commit comments

Comments
 (0)