pull/496/head
Frostebite 2023-02-19 02:08:22 +00:00
parent 029055f729
commit bac0e39b27
3 changed files with 5 additions and 5 deletions

3
dist/index.js generated vendored
View File

@ -5791,7 +5791,8 @@ class SharedWorkspaceLocking {
}
static DoesWorkspaceExist(workspace, buildParametersContext) {
return __awaiter(this, void 0, void 0, function* () {
return ((yield SharedWorkspaceLocking.GetAllWorkspaces(buildParametersContext)).filter((x) => x.includes(workspace) && x.endsWith(`_workspace`)).length > 0);
return ((yield SharedWorkspaceLocking.GetAllWorkspaces(buildParametersContext)).filter((x) => x.includes(workspace))
.length > 0);
});
}
static HasWorkspaceLock(workspace, runId, buildParametersContext) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -90,9 +90,8 @@ export class SharedWorkspaceLocking {
public static async DoesWorkspaceExist(workspace: string, buildParametersContext: BuildParameters) {
return (
(await SharedWorkspaceLocking.GetAllWorkspaces(buildParametersContext)).filter(
(x) => x.includes(workspace) && x.endsWith(`_workspace`),
).length > 0
(await SharedWorkspaceLocking.GetAllWorkspaces(buildParametersContext)).filter((x) => x.includes(workspace))
.length > 0
);
}
public static async HasWorkspaceLock(