Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Fix clippy issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed May 9, 2019
1 parent c45ec72 commit cc8bde1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,18 +476,18 @@ Thanks for asking 🥰"
.to_string();

write_issue_comment(&client, &ic, &comment_body)?;
return Ok(());
Ok(())
}
_ => {
let command = command_res.unwrap();

if !config::command_enabled(&command.command) {
warn!("Command {:#?} is not enabled.", command.command);
return Ok(());
}

match command.command {
commands::CommandAction::Retry => handle_retry_command(&client, &ic),
Ok(())
} else {
match command.command {
commands::CommandAction::Retry => handle_retry_command(&client, &ic),
}
}
}
}
Expand Down

0 comments on commit cc8bde1

Please sign in to comment.