Skip to content

Commit c3c2ea2

Browse files
committed
removed is_file check as it was not needed
1 parent 7f94b33 commit c3c2ea2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cargo/util/command_prelude.rs

-3
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,6 @@ pub trait CommandExt: Sized {
335335
if is_embedded(path) {
336336
return true;
337337
}
338-
if path.is_file() && path.extension().is_none() {
339-
return true;
340-
}
341338
false
342339
}),
343340
)),

0 commit comments

Comments
 (0)