From 31a68cf869c84dd4f3851ddfde0166ec594096fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Fri, 11 Feb 2022 15:38:21 +0000 Subject: [PATCH] fix(devkit): fallback to the target default config when reading target options and the config is not provided --- packages/devkit/src/executors/read-target-options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devkit/src/executors/read-target-options.ts b/packages/devkit/src/executors/read-target-options.ts index 39945ee7ff3da..0710a9d99d7d3 100644 --- a/packages/devkit/src/executors/read-target-options.ts +++ b/packages/devkit/src/executors/read-target-options.ts @@ -26,7 +26,7 @@ export function readTargetOptions( return combineOptionsForExecutor( {}, - configuration ?? '', + configuration ?? targetConfiguration.defaultConfiguration ?? '', targetConfiguration, schema, defaultProject,