pull/496/head
Frostebite 2023-02-17 21:24:24 +00:00
parent c06e828913
commit 5883a1b190
3 changed files with 5 additions and 3 deletions

3
dist/index.js generated vendored
View File

@ -5740,7 +5740,8 @@ class SharedWorkspaceLocking {
}
return (yield SharedWorkspaceLocking.ReadLines(`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}${buildParametersContext.cacheKey}/`))
.map((x) => x.replace(`/`, ``))
.filter((x) => x.endsWith(`_workspace`));
.filter((x) => x.endsWith(`_workspace`))
.map((x) => x.split(`_`)[1]);
});
}
static DoesCacheKeyTopLevelExist(buildParametersContext) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,8 @@ export class SharedWorkspaceLocking {
)
)
.map((x) => x.replace(`/`, ``))
.filter((x) => x.endsWith(`_workspace`));
.filter((x) => x.endsWith(`_workspace`))
.map((x) => x.split(`_`)[1]);
}
public static async DoesCacheKeyTopLevelExist(buildParametersContext: BuildParameters) {
const lines = await SharedWorkspaceLocking.ReadLines(`aws s3 ls ${SharedWorkspaceLocking.workspaceRoot}`);