From e1feaad717f42bd1d4db654ac19b8d64bc35f322 Mon Sep 17 00:00:00 2001 From: Mikhail Vasiliev <46905189+iamvasiliev143@users.noreply.github.com> Date: Tue, 26 Oct 2021 21:06:51 +0300 Subject: [PATCH] build: update ng cli schema generator to correctly show errors (cherry picked from commit 7ec7c19b1c76f2aacb68561f141b9c631491fc41) --- tools/ng_cli_schema_generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ng_cli_schema_generator.js b/tools/ng_cli_schema_generator.js index 08573897b90e..12fdf0cd8fdf 100644 --- a/tools/ng_cli_schema_generator.js +++ b/tools/ng_cli_schema_generator.js @@ -85,7 +85,7 @@ if (require.main === module) { generate(inPath, outPath); } catch (error) { console.error('An error happened:'); - console.error(err); + console.error(error); process.exit(127); } }