fix: build dir
parent
93e2554902
commit
8954e68489
|
|
@ -5191,7 +5191,6 @@ class SharedWorkspaceLocking {
|
||||||
const isWorkspaceBelowMax = matches.length > 0 &&
|
const isWorkspaceBelowMax = matches.length > 0 &&
|
||||||
(ordered.indexOf(matches[0]) < buildParametersContext.maxRetainedWorkspaces ||
|
(ordered.indexOf(matches[0]) < buildParametersContext.maxRetainedWorkspaces ||
|
||||||
buildParametersContext.maxRetainedWorkspaces === 0);
|
buildParametersContext.maxRetainedWorkspaces === 0);
|
||||||
cloud_runner_logger_1.default.log(`isWorkspaceBelowMax ${isWorkspaceBelowMax} = ${matches.length} > 0 && ${ordered.indexOf(matches[0])} < ${buildParametersContext.maxRetainedWorkspaces}`);
|
|
||||||
return isWorkspaceBelowMax;
|
return isWorkspaceBelowMax;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -139,11 +139,6 @@ export class SharedWorkspaceLocking {
|
||||||
matches.length > 0 &&
|
matches.length > 0 &&
|
||||||
(ordered.indexOf(matches[0]) < buildParametersContext.maxRetainedWorkspaces ||
|
(ordered.indexOf(matches[0]) < buildParametersContext.maxRetainedWorkspaces ||
|
||||||
buildParametersContext.maxRetainedWorkspaces === 0);
|
buildParametersContext.maxRetainedWorkspaces === 0);
|
||||||
CloudRunnerLogger.log(
|
|
||||||
`isWorkspaceBelowMax ${isWorkspaceBelowMax} = ${matches.length} > 0 && ${ordered.indexOf(matches[0])} < ${
|
|
||||||
buildParametersContext.maxRetainedWorkspaces
|
|
||||||
}`,
|
|
||||||
);
|
|
||||||
|
|
||||||
return isWorkspaceBelowMax;
|
return isWorkspaceBelowMax;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue