fix(cli)!: retain repeated WASM input paths (#9624)

BREAKING CHANGE: caller_input_paths values may now be ordered arrays of strings as well as strings. Clients must accept both forms.
This commit is contained in:
morluto authored and GitHub committed 2026-11-09 19:43:01 +08:00
1 parent 8dc2d7bec4
commit 400a91b5f9
7 files changed
+79 -12

No files matched your search

+11
View File
@@ -107,6 +107,17 @@ export const registerWasmCommands = (
"wabt-artifact",
"inspect_wasm_artifact",
signal,
options.glue_paths === undefined &&
options.candidate_paths === undefined
? undefined
: {
...(options.glue_paths === undefined
? {}
: { glue_paths: options.glue_paths }),
...(options.candidate_paths === undefined
? {}
: { candidate_paths: options.candidate_paths }),
},
).then(projectCliAnalysisResult),
),
),