diff --git a/src/commands/run.ts b/src/commands/run.ts index 3faa3c840..6682c7a73 100644 --- a/src/commands/run.ts +++ b/src/commands/run.ts @@ -119,7 +119,7 @@ export default class Run extends Command { ]; const appJsonServicePath = await ensureFluenceTmpAppServiceJsonPath(); - const jsonServicePaths = flags[JSON_SERVICE]; + const jsonServicePaths = flags[JSON_SERVICE] ?? []; if (appConfig !== null) { await fsPromises.writeFile(