Skip to content

Commit

Permalink
fix(cli): make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed May 10, 2024
1 parent d12c6cd commit c98f060
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/cli/src/commands/app/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl CmdAppDeploy {
anyhow::bail!("No owner specified: use --owner XXX");
}

let user = wasmer_api::query::current_user_with_namespaces(&client, None).await?;
let user = wasmer_api::query::current_user_with_namespaces(client, None).await?;
let owner = crate::utils::prompts::prompt_for_namespace(
"Who should own this app?",
None,
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/src/commands/app/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ pub(super) async fn login_user(
anyhow::bail!("Stopping the flow as the user is not logged in.")
}
} else {
let bin_name = match std::env::args().nth(0) {
let bin_name = match std::env::args().next() {
Some(n) => n,
None => String::from("wasmer"),
};
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cli/tests/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn wasmer_deploy_php() -> anyhow::Result<()> {

#[test]
fn wasmer_deploy_static_website() -> anyhow::Result<()> {
Only run this test in the CI
// Only run this test in the CI
if std::env::var("GITHUB_TOKEN").is_err() {
return Ok(());
}
Expand Down

0 comments on commit c98f060

Please sign in to comment.