We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57167f commit 5a803b3Copy full SHA for 5a803b3
tests/it/src/commands/check_mode.rs
@@ -114,7 +114,6 @@ pub(super) mod function {
114
// TODO: Maybe check status? On Unix, it should be 0 or SIGPIPE. Not sure about Windows.
115
_ = child.wait().context("Failure running `git` subprocess to read blob")?;
116
117
- let possible_shebang = &buf[..count];
118
- Ok(possible_shebang == b"#!")
+ Ok(&buf[..count] == b"#!")
119
}
120
0 commit comments