Skip to content

Commit

Permalink
fix(developer): pass correct generator options from kmc
Browse files Browse the repository at this point in the history
Also add some resilience to option usage in kmc-generate; more work may
need to be done here in future.

Fixes: #13110
  • Loading branch information
mcdurdin committed Feb 3, 2025
1 parent d2aa22f commit 072c47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developer/src/kmc/src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function generate(generator: KeymanCompiler, ids: string | string[], comma
const options = commanderOptionsToGeneratorOptions(id, commanderOptions);

const callbacks = new NodeCompilerCallbacks(options);
if(!await doGenerate(callbacks, generator, commanderOptions)) {
if(!await doGenerate(callbacks, generator, options)) {
return await exitProcess(1);
}
}
Expand Down

0 comments on commit 072c47b

Please sign in to comment.