chore: fix format

This commit is contained in:
Ralph Khreish
2025-07-11 13:43:13 +03:00
parent 8e9d00e03d
commit 5fa7d2ecaa
2 changed files with 21 additions and 10 deletions

View File

@@ -221,9 +221,12 @@ export function initTaskMaster(overrides = {}) {
// Always set default paths first
// These can be overridden below if needed
paths.configPath = path.join(paths.projectRoot, TASKMASTER_CONFIG_FILE);
paths.statePath = path.join(paths.taskMasterDir || path.join(paths.projectRoot, TASKMASTER_DIR), 'state.json');
paths.statePath = path.join(
paths.taskMasterDir || path.join(paths.projectRoot, TASKMASTER_DIR),
'state.json'
);
paths.tasksPath = path.join(paths.projectRoot, TASKMASTER_TASKS_FILE);
// Handle overrides - only validate/resolve if explicitly provided
if ('configPath' in overrides) {
paths.configPath = resolvePath(