test
parent
c80090b718
commit
7356cdc6b5
|
@ -5882,9 +5882,6 @@ class SharedWorkspaceLocking {
|
|||
throw new Error(`workspace doesn't exist ${workspace}`);
|
||||
}
|
||||
const files = yield SharedWorkspaceLocking.ReadLines(`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}${buildParametersContext.cacheKey}/`);
|
||||
if (workspace.includes(`_`)) {
|
||||
workspace = workspace.split(`_`)[1];
|
||||
}
|
||||
const lockFilesExist = files.filter((x) => {
|
||||
return x.includes(workspace) && x.endsWith(`_lock`);
|
||||
}).length > 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -200,10 +200,6 @@ export class SharedWorkspaceLocking {
|
|||
`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}${buildParametersContext.cacheKey}/`,
|
||||
);
|
||||
|
||||
if (workspace.includes(`_`)) {
|
||||
workspace = workspace.split(`_`)[1];
|
||||
}
|
||||
|
||||
const lockFilesExist =
|
||||
files.filter((x) => {
|
||||
return x.includes(workspace) && x.endsWith(`_lock`);
|
||||
|
|
Loading…
Reference in New Issue