taskplane 0.5.1 → 0.5.2
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.
|
@@ -189,9 +189,11 @@ export function buildLaneEnvVars(
|
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
// In workspace mode, the worktree cwd is inside a repo — not the workspace root.
|
|
192
|
-
// The task-runner needs TASKPLANE_WORKSPACE_ROOT to find .pi/
|
|
192
|
+
// The task-runner needs TASKPLANE_WORKSPACE_ROOT to find .pi/ config
|
|
193
193
|
// and resolve task area paths from the correct base directory.
|
|
194
|
-
|
|
194
|
+
// Always set when workspaceRoot is provided (workspace mode), regardless of
|
|
195
|
+
// whether it equals repoRoot (it often does — cwd is the workspace root).
|
|
196
|
+
if (workspaceRoot) {
|
|
195
197
|
vars.TASKPLANE_WORKSPACE_ROOT = workspaceRoot;
|
|
196
198
|
}
|
|
197
199
|
|