From b20f87fe18f0a9c0ea9ff1eb0247410398211992 Mon Sep 17 00:00:00 2001 From: Igor Date: Fri, 19 Oct 2018 15:23:26 +0200 Subject: [PATCH] Cool, didn't know this is possible, thanks. Co-Authored-By: kroeder --- lib/cli/generators/ANGULAR/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/generators/ANGULAR/index.js b/lib/cli/generators/ANGULAR/index.js index 6e91ee4abc2..bd33a360b3f 100644 --- a/lib/cli/generators/ANGULAR/index.js +++ b/lib/cli/generators/ANGULAR/index.js @@ -50,7 +50,7 @@ function editAngularAppTsConfig() { return; } - const { exclude } = tsConfigJson; + const { exclude = [] } = tsConfigJson; if (exclude.includes(glob)) { return; }