fixes
parent
716c604f16
commit
f310dd44b0
|
@ -5868,7 +5868,7 @@ class SharedWorkspaceLocking {
|
||||||
}
|
}
|
||||||
const files = yield SharedWorkspaceLocking.ReadLines(`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}${buildParametersContext.cacheKey}/`);
|
const files = yield SharedWorkspaceLocking.ReadLines(`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}${buildParametersContext.cacheKey}/`);
|
||||||
const lockFilesExist = files.filter((x) => {
|
const lockFilesExist = files.filter((x) => {
|
||||||
return x.includes(workspace) && x.includes(`_lock`);
|
return x.includes(workspace) && x.endsWith(`_lock`);
|
||||||
}).length > 0;
|
}).length > 0;
|
||||||
return lockFilesExist;
|
return lockFilesExist;
|
||||||
});
|
});
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -194,7 +194,7 @@ export class SharedWorkspaceLocking {
|
||||||
|
|
||||||
const lockFilesExist =
|
const lockFilesExist =
|
||||||
files.filter((x) => {
|
files.filter((x) => {
|
||||||
return x.includes(workspace) && x.includes(`_lock`);
|
return x.includes(workspace) && x.endsWith(`_lock`);
|
||||||
}).length > 0;
|
}).length > 0;
|
||||||
|
|
||||||
return lockFilesExist;
|
return lockFilesExist;
|
||||||
|
|
Loading…
Reference in New Issue