Skip to content

Commit

Permalink
fix(js): return success false if tsc compilation fails (#9438)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored and FrozenPandaz committed Mar 21, 2022
1 parent 3940027 commit ddb10e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/utilities/typescript/compilation.ts
Expand Up @@ -171,7 +171,7 @@ function createProgram(
}
);
logger.error(diagnostics);
throw new Error(diagnostics);
return { success: false };
} else {
logger.info(
`Done compiling TypeScript files for project "${projectName}".`
Expand Down

0 comments on commit ddb10e1

Please sign in to comment.