Pass through AutoRest exit code on code generation error
This commit is contained in:
Родитель
ce89aa8880
Коммит
7fafee3978
|
@ -134,6 +134,7 @@ async function main() {
|
|||
console.log(`Generation completed successfully, output files are in ${options.outputPath}.`)
|
||||
} else {
|
||||
console.error("\nAn error occurred during compilation or client generation.")
|
||||
process.exit(result.status || 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче