Skip to content

Commit 407d08b

Browse files
committed
revert unnecessary change per review feedback
1 parent 07f00d8 commit 407d08b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cloudflare/src/cli/build/utils/test-patch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { patchCode, type RuleConfig } from "@opennextjs/aws/build/patch/astCodePatcher.js";
1+
import { patchCode } from "@opennextjs/aws/build/patch/astCodePatcher.js";
22
import { createPatch } from "diff";
33

44
/**
@@ -9,7 +9,7 @@ import { createPatch } from "diff";
99
* @param rule ASTgrep rule
1010
* @returns diff in unified diff format
1111
*/
12-
export function computePatchDiff(filename: string, src: string, rule: string | RuleConfig): string {
12+
export function computePatchDiff(filename: string, src: string, rule: string): string {
1313
const dst = patchCode(src, rule);
1414
return createPatch(filename, src, dst);
1515
}

0 commit comments

Comments
 (0)