File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -73693,10 +73693,10 @@ function wellKnownCachePath() {
73693
73693
}
73694
73694
}
73695
73695
73696
- async function getCacheKey(scarbLockfilePath ) {
73696
+ async function getCacheKey(scarbLockPath ) {
73697
73697
const platform = process.env.RUNNER_OS;
73698
73698
const fileHash = await glob.hashFiles(
73699
- await getScarbLockfilePath(scarbLockfilePath ),
73699
+ await getScarbLockPath(scarbLockPath ),
73700
73700
);
73701
73701
73702
73702
if (!fileHash) {
@@ -73708,8 +73708,8 @@ async function getCacheKey(scarbLockfilePath) {
73708
73708
return `scarb-cache-${platform}-${fileHash}`.toLowerCase();
73709
73709
}
73710
73710
73711
- async function getScarbLockfilePath(scarbLockfilePath ) {
73712
- const lockfilePath = scarbLockfilePath || "Scarb.lock";
73711
+ async function getScarbLockPath(scarbLockPath ) {
73712
+ const lockfilePath = scarbLockPath || "Scarb.lock";
73713
73713
73714
73714
await fs.access(lockfilePath).catch((_) => {
73715
73715
throw new Error("failed to find Scarb.lock");
Original file line number Diff line number Diff line change @@ -74790,10 +74790,10 @@ function wellKnownCachePath() {
74790
74790
}
74791
74791
}
74792
74792
74793
- async function getCacheKey(scarbLockfilePath ) {
74793
+ async function getCacheKey(scarbLockPath ) {
74794
74794
const platform = process.env.RUNNER_OS;
74795
74795
const fileHash = await glob.hashFiles(
74796
- await getScarbLockfilePath(scarbLockfilePath ),
74796
+ await getScarbLockPath(scarbLockPath ),
74797
74797
);
74798
74798
74799
74799
if (!fileHash) {
@@ -74805,8 +74805,8 @@ async function getCacheKey(scarbLockfilePath) {
74805
74805
return `scarb-cache-${platform}-${fileHash}`.toLowerCase();
74806
74806
}
74807
74807
74808
- async function getScarbLockfilePath(scarbLockfilePath ) {
74809
- const lockfilePath = scarbLockfilePath || "Scarb.lock";
74808
+ async function getScarbLockPath(scarbLockPath ) {
74809
+ const lockfilePath = scarbLockPath || "Scarb.lock";
74810
74810
74811
74811
await promises_default().access(lockfilePath).catch((_) => {
74812
74812
throw new Error("failed to find Scarb.lock");
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ function wellKnownCachePath() {
54
54
}
55
55
}
56
56
57
- export async function getCacheKey ( scarbLockfilePath ) {
57
+ export async function getCacheKey ( scarbLockPath ) {
58
58
const platform = process . env . RUNNER_OS ;
59
59
const fileHash = await glob . hashFiles (
60
- await getScarbLockfilePath ( scarbLockfilePath ) ,
60
+ await getScarbLockPath ( scarbLockPath ) ,
61
61
) ;
62
62
63
63
if ( ! fileHash ) {
@@ -69,8 +69,8 @@ export async function getCacheKey(scarbLockfilePath) {
69
69
return `scarb-cache-${ platform } -${ fileHash } ` . toLowerCase ( ) ;
70
70
}
71
71
72
- async function getScarbLockfilePath ( scarbLockfilePath ) {
73
- const lockfilePath = scarbLockfilePath || "Scarb.lock" ;
72
+ async function getScarbLockPath ( scarbLockPath ) {
73
+ const lockfilePath = scarbLockPath || "Scarb.lock" ;
74
74
75
75
await fs . access ( lockfilePath ) . catch ( ( _ ) => {
76
76
throw new Error ( "failed to find Scarb.lock" ) ;
You can’t perform that action at this time.
0 commit comments