fix: lint errors in merge/resolveTask/confirm
This commit is contained in:
parent
69bd77ab62
commit
15fc6875e2
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { writeFileSync } from 'node:fs';
|
import { writeFileSync } from 'node:fs';
|
||||||
import type { ArpeggioMergeMovementConfig, BatchResult, MergeFn } from './types.js';
|
import type { ArpeggioMergeMovementConfig, MergeFn } from './types.js';
|
||||||
|
|
||||||
/** Create a concat merge function with the given separator */
|
/** Create a concat merge function with the given separator */
|
||||||
function createConcatMerge(separator: string): MergeFn {
|
function createConcatMerge(separator: string): MergeFn {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import * as fs from 'node:fs';
|
|||||||
import * as path from 'node:path';
|
import * as path from 'node:path';
|
||||||
import { loadGlobalConfig } from '../../../infra/config/index.js';
|
import { loadGlobalConfig } from '../../../infra/config/index.js';
|
||||||
import { type TaskInfo, createSharedClone, summarizeTaskName, getCurrentBranch } from '../../../infra/task/index.js';
|
import { type TaskInfo, createSharedClone, summarizeTaskName, getCurrentBranch } from '../../../infra/task/index.js';
|
||||||
import { info, withProgress } from '../../../shared/ui/index.js';
|
import { withProgress } from '../../../shared/ui/index.js';
|
||||||
import { getTaskSlugFromTaskDir } from '../../../shared/utils/taskPaths.js';
|
import { getTaskSlugFromTaskDir } from '../../../shared/utils/taskPaths.js';
|
||||||
|
|
||||||
export interface ResolvedTaskExecution {
|
export interface ResolvedTaskExecution {
|
||||||
|
|||||||
@ -14,7 +14,9 @@ function pauseStdinSafely(): void {
|
|||||||
if (process.stdin.readable && !process.stdin.destroyed) {
|
if (process.stdin.readable && !process.stdin.destroyed) {
|
||||||
process.stdin.pause();
|
process.stdin.pause();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user