Skip to content

Commit d368401

Browse files
committed
Oops linux
1 parent f1bce1c commit d368401

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -584,12 +584,13 @@ impl Build {
584584
let status = {
585585
let mut cmd = Command::new("PlaydateSimulator");
586586
cmd.arg(&pdx_path);
587-
cmd.status().or_else(|_| -> Result<ExitStatus, Error> {
588-
info!("falling back on SDK path");
589-
cmd = Command::new(playdate_sdk_path()?.join("bin").join("PlaydateSimulator"));
590-
cmd.arg(&pdx_path);
591-
Ok(cmd.status()?)
592-
})?
587+
cmd.status()
588+
.or_else(|_| -> Result<std::process::ExitStatus, Error> {
589+
info!("falling back on SDK path");
590+
cmd = Command::new(playdate_sdk_path()?.join("bin").join("PlaydateSimulator"));
591+
cmd.arg(&pdx_path);
592+
Ok(cmd.status()?)
593+
})?
593594
};
594595

595596
if !status.success() {

0 commit comments

Comments
 (0)