Skip to content

Commit 288767b

Browse files
author
Roman Melnikov
committed
fix(dev-workflow): PR C lint — biome format feature.ts ship fn
CI flagged a multi-line format preference on the git add catch block.
1 parent 6947d5e commit 288767b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

packages/dev-workflow/pipelines/feature.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,12 @@ const shipFn = defineFunction({
215215

216216
// Stage changed files. Guard against hallucinated paths: skip files that fail.
217217
for (const file of input.filesChanged) {
218-
await execa("git", ["add", "--", file], { cwd: input.worktreePath }).catch(
219-
(err) =>
220-
console.warn(
221-
`[ship] git add ${file} failed: ${(err as Error).message}`,
222-
),
218+
await execa("git", ["add", "--", file], {
219+
cwd: input.worktreePath,
220+
}).catch((err) =>
221+
console.warn(
222+
`[ship] git add ${file} failed: ${(err as Error).message}`,
223+
),
223224
);
224225
}
225226

0 commit comments

Comments
 (0)