@ricsam/r5d-worker 0.0.80 → 0.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-worker",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "type": "commonjs"
5
5
  }
@@ -24,11 +24,11 @@ __export(workspace_command_sync_policy_exports, {
24
24
  shouldSerializeWorkspaceCommand: () => shouldSerializeWorkspaceCommand
25
25
  });
26
26
  module.exports = __toCommonJS(workspace_command_sync_policy_exports);
27
- function usesVisibleWorkspace(target) {
28
- return target.type === "project" || target.rootProfile === "visible_projects";
27
+ function requiresCurrentSyncBarrier(target) {
28
+ return target.type === "workspace" && target.rootProfile === "visible_projects";
29
29
  }
30
30
  async function reserveWorkspaceCommandAfterCurrentSync(target, coordinator, reserve) {
31
- if (!usesVisibleWorkspace(target)) {
31
+ if (!requiresCurrentSyncBarrier(target)) {
32
32
  reserve();
33
33
  return;
34
34
  }