Skip to content

Commit

Permalink
refactor: license scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Dec 9, 2022
1 parent 49f6c91 commit ef134a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reviewing/license-scanner/src/getPkgInfo.ts
Expand Up @@ -182,7 +182,7 @@ export async function readPackageIndexFile (
let pkgIndexFilePath
if (isPackageWithIntegrity) {
// Retrieve all the index file of all files included in the package
pkgIndexFilePath = await getFilePathInCafs(
pkgIndexFilePath = getFilePathInCafs(
opts.cafsDir,
packageResolution.integrity as string,
'index'
Expand Down Expand Up @@ -295,7 +295,7 @@ export async function getPkgInfo (
PackageFileInfo
>
const packageManifestFile = packageFileIndex['package.json']
packageManifestDir = await getFilePathByModeInCafs(
packageManifestDir = getFilePathByModeInCafs(
cafsDir,
packageManifestFile.integrity,
packageManifestFile.mode
Expand Down

0 comments on commit ef134a0

Please sign in to comment.