Skip to content

Commit

Permalink
Update packages. Windows test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Sep 14, 2023
1 parent 5e3ff12 commit 36698f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ export const parsePkgLock = async (pkgLockFile, options = {}) => {
let dependenciesList = [];

// Create the package entry
const srcFilePath = node.path.includes("/node_modules")
? node.path.split("/node_modules")[0]
const srcFilePath = node.path.includes(`${_sep}node_modules`)
? node.path.split(`${_sep}node_modules`)[0]
: node.path;
const scope = node.dev === true ? "optional" : undefined;
const integrity = node.integrity ? node.integrity : undefined;
Expand Down

0 comments on commit 36698f8

Please sign in to comment.