Skip to content

Commit

Permalink
fix: allow 'config' option to be undefined on build command
Browse files Browse the repository at this point in the history
  • Loading branch information
micalevisk committed Jul 22, 2023
1 parent c9fe9c0 commit 384326a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/build.action.ts
Expand Up @@ -69,7 +69,7 @@ export class BuildAction extends AbstractAction {
isDebugEnabled = false,
onSuccess?: () => void,
) {
const configFileName = commandOptions.get<string>('config', true).value;
const configFileName = commandOptions.get<string>('config')?.value;
const configuration = await this.loader.load(configFileName);
const appName = commandInputs.get<string>('app', true).value;

Expand Down

0 comments on commit 384326a

Please sign in to comment.