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 committed Mar 21, 2022
1 parent ada6645 commit 9261105
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 9261105

Please sign in to comment.