Skip to content

Commit d5d61cd

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 5973b4c commit d5d61cd

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/dev-workflow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ageflow/dev-workflow",
3-
"version": "0.0.12",
3+
"version": "0.0.13",
44
"private": true,
55
"type": "module",
66
"scripts": {

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)