Skip to content

Commit c678d8e

Browse files
committed
fix merge conflict
1 parent 70e9e28 commit c678d8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dsc/src/subcommand.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,10 @@ pub fn resource(subcommand: &ResourceSubCommand, progress_format: ProgressFormat
592592
resource_command::get_all(&dsc, resource, output_format.as_ref());
593593
}
594594
else {
595+
if *output_format == Some(GetOutputFormat::JsonArray) {
596+
error!("{}", t!("subcommand.jsonArrayNotSupported"));
597+
exit(EXIT_INVALID_ARGS);
598+
}
595599
let parsed_input = get_input(input.as_ref(), path.as_ref(), false);
596600
resource_command::get(&dsc, resource, &parsed_input, output_format.as_ref());
597601
}

0 commit comments

Comments
 (0)