Skip to content

Commit

Permalink
Fix clippy issue with rust 1.75.0 (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlewis authored Jan 3, 2024
1 parent 68be47f commit 108d010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub(crate) fn build_procs(pkgs: &[String]) -> Result<Vec<Process>, Error> {
);
}
if !procs.iter().any(|p| p.default) {
if let Some(proc) = procs.clone().get(0) {
if let Some(proc) = procs.clone().first() {
procs.push(
ProcessBuilder::new(process_type!("web"), &proc.command)
.default(true)
Expand Down

0 comments on commit 108d010

Please sign in to comment.