Skip to content

Commit

Permalink
remove warnings and console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Katkov committed Dec 13, 2023
1 parent dd3c669 commit 989b12e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/context/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface InstalledPackage {
isDev: boolean
}

// eslint-disable-next-line complexity
// eslint-disable-next-line complexity, sonarjs/cognitive-complexity
const getNpmPackages = (projectDirectory: string): InstalledPackage[] => {
const installedPackages: InstalledPackage[] = []
const packageLockRaw = fs.readFileSync(path.join(projectDirectory, 'package-lock.json'), 'utf8')
Expand All @@ -43,7 +43,6 @@ const getNpmPackages = (projectDirectory: string): InstalledPackage[] => {
continue
}
const { packageName } = packageNameMatch.groups
console.log(packageName)

installedPackages.push({
name: packageName,
Expand Down

0 comments on commit 989b12e

Please sign in to comment.