We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1bce1c commit d368401Copy full SHA for d368401
src/main.rs
@@ -584,12 +584,13 @@ impl Build {
584
let status = {
585
let mut cmd = Command::new("PlaydateSimulator");
586
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
- })?
+ cmd.status()
+ .or_else(|_| -> Result<std::process::ExitStatus, Error> {
+ info!("falling back on SDK path");
+ cmd = Command::new(playdate_sdk_path()?.join("bin").join("PlaydateSimulator"));
+ cmd.arg(&pdx_path);
+ Ok(cmd.status()?)
593
+ })?
594
};
595
596
if !status.success() {
0 commit comments