We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 645303e commit 740f9c9Copy full SHA for 740f9c9
crates/pop-cli/src/common/runtime.rs
@@ -208,7 +208,7 @@ pub(crate) fn get_mock_runtime(feature: Option<RuntimeFeature>) -> PathBuf {
208
_ => "base_parachain",
209
}
210
);
211
- std::env::current_dir().unwrap().join(path).canonicalize().unwrap()
+ std::env::current_dir()?.join(path).canonicalize()?
212
213
214
#[cfg(test)]
0 commit comments