Skip to content

Commit

Permalink
fix: not respect pnpm-lock.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nokazn committed Feb 10, 2024
1 parent 112ba1a commit d82bc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
use strum_macros::EnumIter;

#[derive(EnumIter, Serialize, Deserialize, Hash, Clone, Copy, Debug)]
#[derive(EnumIter, Serialize, Deserialize, Hash, Clone, Copy, Debug, PartialEq)]
pub enum PackageManagerKind {
Npm,
Yarn,
Expand All @@ -14,7 +14,7 @@ impl PackageManagerKind {
match self {
PackageManagerKind::Npm => vec!["package-lock.json"],
PackageManagerKind::Yarn => vec!["yarn.lock"],
PackageManagerKind::Pnpm => vec!["pnpm-lock.yaml", "pnpm-lock.yml"],
PackageManagerKind::Pnpm => vec!["pnpm-lock.yaml"],
PackageManagerKind::Bun => vec!["bun.lockb"],
}
}
Expand Down

0 comments on commit d82bc05

Please sign in to comment.