Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Sep 20, 2024
1 parent 70d6984 commit c1e3fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/helpers/checkDeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ async function check(projectDir: string, devPackageData: any): Promise<boolean>
if (unusedDependencies.length > 0) {
// Check root for unused deps (which could be cloned to any folder name, so we check basename of cwd)
if (packageName === path.basename(process.cwd())) {
unusedDependencies = result.dependencies.filter(it => it !== "dmg-license")
unusedDependencies = unusedDependencies.filter(it => it !== "dmg-license")
}
if (packageName === "electron-builder") {
unusedDependencies = result.dependencies.filter(it => it !== "dmg-builder")
unusedDependencies = unusedDependencies.filter(it => it !== "dmg-builder")
}
if (unusedDependencies.length > 0) {
console.error(`${chalk.bold(packageName)} Unused dependencies: ${JSON.stringify(unusedDependencies, null, 2)}`)
Expand Down

0 comments on commit c1e3fc9

Please sign in to comment.