Skip to content

Commit ed9ebac

Browse files
authored
fix watch panel custom string representation. #2252 (#2253)
1 parent 113fa91 commit ed9ebac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adapter/templates/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function templateFunctionStr<Args extends string[]>(
112112
return {
113113
expr: (...args: Args) => inner(args, '(()=>{', '})();').out,
114114
exprArgRanges: (...args: Args) => inner(args, '(()=>{', '})();').argRanges,
115-
decl: (...args: Args) => inner(args, 'function(...runtimeArgs){', '};').out,
115+
decl: (...args: Args) => inner(args, 'function(...runtimeArgs){', '}').out,
116116
};
117117
}
118118

0 commit comments

Comments
 (0)