taskplane 0.24.28 → 0.24.29
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.
|
@@ -885,11 +885,14 @@ export function applyGlobalPreferences(config: TaskplaneConfig, prefs: GlobalPre
|
|
|
885
885
|
* workspace-only roots participate in config-root resolution.
|
|
886
886
|
*/
|
|
887
887
|
export function hasConfigFiles(root: string): boolean {
|
|
888
|
+
// Check for actual project config files (not workspace YAML — that's a
|
|
889
|
+
// coordination file, not a project config). Without this distinction,
|
|
890
|
+
// workspace root's .pi/taskplane-workspace.yaml causes resolveConfigRoot
|
|
891
|
+
// to short-circuit before checking the pointer-resolved config root (#424).
|
|
888
892
|
const files = [
|
|
889
893
|
PROJECT_CONFIG_FILENAME,
|
|
890
894
|
"task-runner.yaml",
|
|
891
895
|
"task-orchestrator.yaml",
|
|
892
|
-
"taskplane-workspace.yaml",
|
|
893
896
|
];
|
|
894
897
|
for (const f of files) {
|
|
895
898
|
if (existsSync(join(root, ".pi", f)) || existsSync(join(root, f))) return true;
|