Update schema-cli

This commit is contained in:
Tony Garnock-Jones 2024-03-27 12:21:33 +01:00
parent 7c9c410a9b
commit 85ca0b6c0a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export function run(options: CommandLineArguments): void {
if (failures.length === 0) {
if (options.bundle) {
fs.writeSync(1, underlying(canonicalEncode(M.fromBundle(M.Bundle(
new KeyedDictionary<M.ModulePath, M.Schema, M.InputEmbedded>(
new KeyedDictionary<M.InputEmbedded, M.ModulePath, M.Schema>(
inputFiles.map(i => [i.modulePath, i.schema])))))));
} else {
fs.writeSync(1, underlying(canonicalEncode(M.fromSchema(inputFiles[0].schema))));