There was an error while loading. Please reload this page.
1 parent ad0c259 commit 33340a7Copy full SHA for 33340a7
1 file changed
crates/bashkit/src/interpreter/mod.rs
@@ -1161,9 +1161,7 @@ impl Interpreter {
1161
match args[0].as_str() {
1162
"-z" => args[1].is_empty(),
1163
"-n" => !args[1].is_empty(),
1164
- "-e" | "-a" => {
1165
- self.fs.exists(&resolve(&args[1])).await.unwrap_or(false)
1166
- }
+ "-e" | "-a" => self.fs.exists(&resolve(&args[1])).await.unwrap_or(false),
1167
"-f" => self
1168
.fs
1169
.stat(&resolve(&args[1]))
0 commit comments