Skip to content

Commit

Permalink
chore: update dprint-core to 0.58.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jun 11, 2022
1 parent 46865c9 commit bbc0002
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tracing = ["dprint-core/tracing"]
[dependencies]
anyhow = "1.0.51"
dockerfile-parser = "0.8.0"
dprint-core = { version = "0.55.0", features = ["formatting"] }
dprint-core = { version = "0.58.2", features = ["formatting"] }
serde = { version = "1.0.88", features = ["derive"] }
serde_json = { version = "1.0", optional = true }

Expand Down
4 changes: 2 additions & 2 deletions src/configuration/resolve_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ pub fn resolve_config(config: ConfigKeyMap, global_config: &GlobalConfiguration)
line_width: get_value(
&mut config,
"lineWidth",
global_config.line_width.unwrap_or(DEFAULT_GLOBAL_CONFIGURATION.line_width),
global_config.line_width.unwrap_or(RECOMMENDED_GLOBAL_CONFIGURATION.line_width),
&mut diagnostics,
),
new_line_kind: get_value(
&mut config,
"newLineKind",
global_config.new_line_kind.unwrap_or(DEFAULT_GLOBAL_CONFIGURATION.new_line_kind),
global_config.new_line_kind.unwrap_or(RECOMMENDED_GLOBAL_CONFIGURATION.new_line_kind),
&mut diagnostics,
),
};
Expand Down

0 comments on commit bbc0002

Please sign in to comment.