Skip to content

Commit d7fa2cd

Browse files
committed
fix _TIMEOUT not being replaced with _TO
1 parent fcf8be4 commit d7fa2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processScript/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function transform(file: File, sourceCode: string, {
6767
}
6868

6969
if (program.scope.hasGlobal(`_TIMEOUT`)) {
70-
for (const referencePath of getReferencePathsToGlobal(`_START`, program))
70+
for (const referencePath of getReferencePathsToGlobal(`_TIMEOUT`, program))
7171
referencePath.replaceWith(t.identifier(`_TO`))
7272
}
7373

0 commit comments

Comments
 (0)