From 69d47df33ba8ccd725552cfe084957eb974dd99a Mon Sep 17 00:00:00 2001 From: Gonzalo Gallotti Date: Wed, 10 May 2023 11:34:26 -0300 Subject: [PATCH] Fix outputPath Angular16 --- libs/ngx-aws-deploy/src/lib/deploy/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ngx-aws-deploy/src/lib/deploy/index.ts b/libs/ngx-aws-deploy/src/lib/deploy/index.ts index 5052922..4fb7e3c 100644 --- a/libs/ngx-aws-deploy/src/lib/deploy/index.ts +++ b/libs/ngx-aws-deploy/src/lib/deploy/index.ts @@ -82,7 +82,7 @@ export default createBuilder( context.logger.info(`✔ Build Completed`); } if (buildResult.success) { - const filesPath = buildResult.outputPath as string; + const filesPath = buildResult.outputPath ?? buildResult.outputs[0].path; const files = getFiles(filesPath); if (files.length === 0) {