Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25211,6 +25211,7 @@ async function run() {
return;
}
const lockfilePath = join2(workDir, lockfileFilename);
const packageFilePath = join2(workDir, "package.json");
core7.info(`Using lockfile: ${lockfilePath}`);
core7.info(
`Comparing package lockfiles between ${baseRef} and ${currentRef}`
Expand All @@ -25235,12 +25236,12 @@ async function run() {
}
const basePackageJson = tryGetJSONFromRef(
baseRef,
"package.json",
packageFilePath,
workspacePath
);
const currentPackageJson = tryGetJSONFromRef(
currentRef,
"package.json",
packageFilePath,
workspacePath
);
let parsedCurrentLock;
Expand Down
5 changes: 3 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async function run(): Promise<void> {
return;
}
const lockfilePath = join(workDir, lockfileFilename);
const packageFilePath = join(workDir, 'package.json');
core.info(`Using lockfile: ${lockfilePath}`);

core.info(
Expand Down Expand Up @@ -88,12 +89,12 @@ async function run(): Promise<void> {

const basePackageJson = tryGetJSONFromRef<PackageJson>(
baseRef,
'package.json',
packageFilePath,
workspacePath
);
const currentPackageJson = tryGetJSONFromRef<PackageJson>(
currentRef,
'package.json',
packageFilePath,
workspacePath
);

Expand Down