Skip to content

Commit 814e396

Browse files
authored
fixes dotnet update + version bump 10.2.4 (#274)
1 parent eb51be0 commit 814e396

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords = ["upgrade", "update"]
66
license = "GPL-3.0"
77
# license-file = "LICENSE"
88
repository = "https://github.com/topgrade-rs/topgrade"
9-
version = "10.2.3"
9+
version = "10.2.4"
1010
authors = ["Roey Darwish Dror <[email protected]>", "Thomas Schönauer <[email protected]>"]
1111
exclude = ["doc/screenshot.gif"]
1212
edition = "2021"

src/steps/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ pub fn run_composer_update(ctx: &ExecutionContext) -> Result<()> {
488488
pub fn run_dotnet_upgrade(ctx: &ExecutionContext) -> Result<()> {
489489
let dotnet = utils::require("dotnet")?;
490490

491-
let dotnet_help_output = ctx.run_type().execute(&dotnet).arg("-h").output().err().unwrap();
491+
let dotnet_help_output = ctx.run_type().execute(&dotnet).arg("-h").output_checked_utf8().unwrap();
492492

493493
if dotnet_help_output.to_string().contains("tool") {
494494
let output = Command::new(dotnet)

0 commit comments

Comments
 (0)