Skip to content

Commit c72ad16

Browse files
committed
fix(compiler): return print data when workspace is not enabled
1 parent add61ac commit c72ad16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class LesyCompiler {
8383
parse: (argv: string[]) =>
8484
lesy.then((l: typeof LesyCoreClass) => {
8585
if (global["lesyWorkspace"]) return l;
86-
l.run(argv || process.argv.slice(2));
86+
return l.run(argv || process.argv.slice(2));
8787
}),
8888
};
8989
}

0 commit comments

Comments
 (0)