Skip to content

Commit

Permalink
finalziedpws
Browse files Browse the repository at this point in the history
  • Loading branch information
camdenmcgath committed Dec 16, 2023
1 parent 6da667d commit e0825d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 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
@@ -1,6 +1,6 @@
[package]
name = "sit"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["Camden McGath cmcgath@nnu.edu"]
license = "MIT"
Expand Down
4 changes: 0 additions & 4 deletions src/commands/combos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,5 @@ pub fn in_working_tree() -> bool {
let output = PlatformRunner::for_platform()
.execute("git rev-parse --is-inside-work-tree")
.expect("Failed to execute command in in_working_tree");
println!(
"{}",
String::from_utf8_lossy(&output.stdout).as_ref().trim()
);
String::from_utf8_lossy(&output.stdout).as_ref().trim() == "true"
}

0 comments on commit e0825d1

Please sign in to comment.