Skip to content

Commit

Permalink
fixes dotnet update + version bump 10.2.4 (topgrade-rs#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
s34m authored Dec 18, 2022
1 parent eb51be0 commit 814e396
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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 @@ -6,7 +6,7 @@ keywords = ["upgrade", "update"]
license = "GPL-3.0"
# license-file = "LICENSE"
repository = "https://github.com/topgrade-rs/topgrade"
version = "10.2.3"
version = "10.2.4"
authors = ["Roey Darwish Dror <[email protected]>", "Thomas Schönauer <[email protected]>"]
exclude = ["doc/screenshot.gif"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ pub fn run_composer_update(ctx: &ExecutionContext) -> Result<()> {
pub fn run_dotnet_upgrade(ctx: &ExecutionContext) -> Result<()> {
let dotnet = utils::require("dotnet")?;

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

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

0 comments on commit 814e396

Please sign in to comment.