Skip to content

Commit 17511a9

Browse files
committed
fix
1 parent 3f71897 commit 17511a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/livecodes/compiler/compile.worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const compile = async (
116116
info: { errors: [getErrorMessage(err)] },
117117
};
118118
}
119-
return value;
119+
return value || '';
120120
};
121121

122122
const loadTypeScript = async () => {

0 commit comments

Comments
 (0)