Skip to content

Commit f9989d5

Browse files
authored
fix: [OSM-1040] fixed returned targe file path (#9)
1 parent f8204d4 commit f9989d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/workspaces/pnpm-workspaces-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function processPnpmWorkspaces(
152152
);
153153
const project: ScannedProjectCustom = {
154154
packageManager: 'pnpm',
155-
targetFile: pathUtil.relative(rootDir, packageJson.fileName),
155+
targetFile: pathUtil.relative(root, packageJson.fileName),
156156
depGraph: res as any,
157157
plugin: {
158158
name: 'snyk-nodejs-lockfile-parser',

0 commit comments

Comments
 (0)