File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25211,6 +25211,7 @@ async function run() {
2521125211 return;
2521225212 }
2521325213 const lockfilePath = join2(workDir, lockfileFilename);
25214+ const packageFilePath = join2(workDir, "package.json");
2521425215 core7.info(`Using lockfile: ${lockfilePath}`);
2521525216 core7.info(
2521625217 `Comparing package lockfiles between ${baseRef} and ${currentRef}`
@@ -25235,12 +25236,12 @@ async function run() {
2523525236 }
2523625237 const basePackageJson = tryGetJSONFromRef(
2523725238 baseRef,
25238- "package.json" ,
25239+ packageFilePath ,
2523925240 workspacePath
2524025241 );
2524125242 const currentPackageJson = tryGetJSONFromRef(
2524225243 currentRef,
25243- "package.json" ,
25244+ packageFilePath ,
2524425245 workspacePath
2524525246 );
2524625247 let parsedCurrentLock;
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ async function run(): Promise<void> {
6060 return ;
6161 }
6262 const lockfilePath = join ( workDir , lockfileFilename ) ;
63+ const packageFilePath = join ( workDir , 'package.json' ) ;
6364 core . info ( `Using lockfile: ${ lockfilePath } ` ) ;
6465
6566 core . info (
@@ -88,12 +89,12 @@ async function run(): Promise<void> {
8889
8990 const basePackageJson = tryGetJSONFromRef < PackageJson > (
9091 baseRef ,
91- 'package.json' ,
92+ packageFilePath ,
9293 workspacePath
9394 ) ;
9495 const currentPackageJson = tryGetJSONFromRef < PackageJson > (
9596 currentRef ,
96- 'package.json' ,
97+ packageFilePath ,
9798 workspacePath
9899 ) ;
99100
You can’t perform that action at this time.
0 commit comments