Skip to content

Commit 42bb1fe

Browse files
committed
should not reach there
1 parent f09741d commit 42bb1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export const isChanged = (
332332
);
333333
if (changed) return changed;
334334
}
335-
if (changed === null) changed = true;
335+
if (changed === null) throw new Error('invalid used');
336336
return changed;
337337
};
338338

0 commit comments

Comments
 (0)