mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 06:38:22 +00:00
Fix make lint
This commit is contained in:
@@ -262,13 +262,12 @@ fn try_run_package_or_file(args: &[String], r: &Run) -> Result<(), anyhow::Error
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
match try_execute_local_package(&args, &sv) {
|
if let Ok(o) = try_execute_local_package(args, &sv) {
|
||||||
Ok(o) => return Ok(o),
|
return Ok(o);
|
||||||
Err(_) => {} // local package not found
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// download and install package
|
// else: local package not found - try to download and install package
|
||||||
try_autoinstall_package(&args, &sv, package_download_info)
|
try_autoinstall_package(args, &sv, package_download_info)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn try_lookup_command(sv: &mut SplitVersion) -> Result<PackageDownloadInfo, anyhow::Error> {
|
fn try_lookup_command(sv: &mut SplitVersion) -> Result<PackageDownloadInfo, anyhow::Error> {
|
||||||
|
|||||||
Reference in New Issue
Block a user