Skip to content

Commit

Permalink
fix: solve sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelDemey committed Sep 20, 2024
1 parent de202e5 commit 870edae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions audit/apps/audit/src/checkers/sync/file-system-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const checkIfDevOrProdDependenciesPresent = (
devDependencies = false
) => {
const result = {};
path.map((path) => {
path.forEach((path) => {
const r = JSON.parse(readFileSync(path).toString());
if (
Object.keys(
Expand Down Expand Up @@ -87,7 +87,6 @@ const npmAudit = (parsers: { name: string; result: any }[]) => {
return { name: 'npm_outdated', result: JSON.parse(e.stdout.toString()) };
}
}
return;
};

export class FileSystemChecker {
Expand Down

0 comments on commit 870edae

Please sign in to comment.