Skip to content

Commit d839107

Browse files
committed
fix: logger is not defined error in transformStringToFunction
1 parent 5a4e43a commit d839107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/editor-skeleton/src/transducers/parse-func.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function transformStringToFunction(str: string) {
2626
try {
2727
return (${str}).apply(self, arguments);
2828
} catch(e) {
29-
logger.warn('call function which parsed by lowcode failed: ', e);
29+
console.warn('call function which parsed by lowcode failed: ', e);
3030
return e.message;
3131
}
3232
};

0 commit comments

Comments
 (0)