fix(compiler-cli): prevent ng-xi18n from emitting the compilation output (#14115)

fixes #13567

PR Close #14115
This commit is contained in:
Marc Laval
2017-01-26 10:27:07 +01:00
committed by Miško Hevery
parent 7036e04ec6
commit e58d683931
4 changed files with 44 additions and 4 deletions
@@ -30,7 +30,7 @@ if (require.main === module) {
const args = require('minimist')(process.argv.slice(2));
const project = args.p || args.project || '.';
const cliOptions = new tsc.I18nExtractionCliOptions(args);
tsc.main(project, cliOptions, extract)
tsc.main(project, cliOptions, extract, {noEmit: true})
.then((exitCode: any) => process.exit(exitCode))
.catch((e: any) => {
console.error(e.stack);