Skip to content

Commit

Permalink
chore: Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Aug 2, 2024
1 parent acaf046 commit d634399
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ pub use crate::{
js_runtime::{JsRuntime, RuntimeOptions},
logging::initialize_logger,
options::{RunOptions, SpawnOptions},
registry::RegistryConfig,
run::run_wasix,
utils::StringOrBytes,
wasmer::Wasmer,
registry::RegistryConfig,
};

use once_cell::sync::Lazy;
Expand Down
5 changes: 4 additions & 1 deletion src/registry/package/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ impl Wasmer {
) -> Result<PublishPackageOutput, Error> {
let client = Wasmer::get_client()?;

if wasmer_api::query::get_package_release(client, &hash).await?.is_some() {
if wasmer_api::query::get_package_release(client, hash)
.await?
.is_some()
{
// The package was already published.
return Ok(PublishPackageOutput {
manifest: serde_wasm_bindgen::to_value(&manifest)
Expand Down

0 comments on commit d634399

Please sign in to comment.