Skip to content

Commit

Permalink
fix: lang override defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovRoman committed Feb 20, 2024
1 parent 8f548ac commit f17d15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/create-hermione-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ const argv = yargs(hideBin(process.argv))
.parse();

const argvOpts = optsFromArgv(argv as ToolArgv);
const createOpts = (defaultOpts: DefaultOpts): ToolOpts => Object.assign(argvOpts, defaultOpts);
const createOpts = (defaultOpts: DefaultOpts): ToolOpts => ({ ...defaultOpts, ...argvOpts });
launcher.run({ createOpts });

0 comments on commit f17d15c

Please sign in to comment.