Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3945ad8

Browse files
authored
Merge pull request#960 from SteveL-MSFT/3.1.1
Backport: Fix default output to YAML when used interactively
2 parents598ee78 +6081f3b commit3945ad8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎dsc/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dsc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="dsc"
3-
version ="3.1.0"
3+
version ="3.1.1"
44
edition ="2021"
55

66
[profile.release]

‎dsc/src/resource_command.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ pub fn get(dsc: &DscManager, resource_type: &str, input: &str, format: Option<&G
5555
let format =match format{
5656
Some(&GetOutputFormat::PrettyJson) =>Some(&OutputFormat::PrettyJson),
5757
Some(&GetOutputFormat::Yaml) =>Some(&OutputFormat::Yaml),
58+
None =>None,
5859
_ =>Some(&OutputFormat::Json),
5960
};
6061
write_object(&json, format,false);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp