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.
x.py
1 parent b8af50a commit d64aee0Copy full SHA for d64aee0
src/bootstrap/builder.rs
@@ -385,8 +385,10 @@ impl<'a> Builder<'a> {
385
Subcommand::Clean { .. } => panic!(),
386
};
387
388
- if paths[0] == Path::new("nonexistent/path/to/trigger/cargo/metadata") {
389
- return;
+ if let Some(path) = paths.get(0) {
+ if path == Path::new("nonexistent/path/to/trigger/cargo/metadata") {
390
+ return;
391
+ }
392
}
393
394
let builder = Builder {
0 commit comments