Skip to content

Commit

Permalink
fix: [OSM-1040] fixed returned targe file path (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
gemaxim authored Apr 18, 2024
1 parent f8204d4 commit f9989d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workspaces/pnpm-workspaces-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export async function processPnpmWorkspaces(
);
const project: ScannedProjectCustom = {
packageManager: 'pnpm',
targetFile: pathUtil.relative(rootDir, packageJson.fileName),
targetFile: pathUtil.relative(root, packageJson.fileName),
depGraph: res as any,
plugin: {
name: 'snyk-nodejs-lockfile-parser',
Expand Down

0 comments on commit f9989d5

Please sign in to comment.