Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AvrAlexandra committed Oct 24, 2024
1 parent fa5632d commit b023ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/javascript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function transformDeps(tree: DepTreeDep, root: string): Map<string, DepinderDepe
async function parseLockFile({root, manifestFile, lockFile}: DependencyFileContext): Promise<DepinderProject> {
// const lockFileVersion = getLockfileVersionFromFile(lockFile)
// log.info(`parsing ${path.resolve(root, lockFile)}`)
const result = await buildDepTreeFromFiles(root, manifestFile ?? 'package.json', lockFile ?? '', true, false)
const result = await buildDepTreeFromFiles(root, manifestFile ?? 'package.json', lockFile ?? '', true);

const manifestJSON = JSON.parse(fs.readFileSync(path.resolve(root, manifestFile ?? 'package.json'), 'utf8'))
return {
Expand Down

0 comments on commit b023ef9

Please sign in to comment.