Skip to content

Commit a9ffb86

Browse files
natemoo-regithub-actions[bot]
authored andcommitted
[ci] format
1 parent c3f801b commit a9ffb86

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

‎src/commands/build.ts‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ import type { CommandContext } from "../context.ts";
44
import { local } from "../utils.ts";
55

66
export async function build(ctx: CommandContext) {
7-
const args = parse(ctx.args, {
8-
boolean: ["bundle"],
9-
});
7+
const args = parse(ctx.args, {
8+
boolean: ["bundle"],
9+
});
1010

11-
const tsdownArgs = [
12-
"src/bin.ts",
13-
"--format",
14-
"esm",
15-
"--sourcemap",
16-
"--clean",
17-
"--no-config",
18-
...args._.map((v) => v.toString()),
19-
];
20-
if (!args.bundle) tsdownArgs.push("--unbundle");
11+
const tsdownArgs = [
12+
"src/bin.ts",
13+
"--format",
14+
"esm",
15+
"--sourcemap",
16+
"--clean",
17+
"--no-config",
18+
...args._.map((v) => v.toString()),
19+
];
20+
if (!args.bundle) tsdownArgs.push("--unbundle");
2121

22-
const stdio = x(local("tsdown"), tsdownArgs);
22+
const stdio = x(local("tsdown"), tsdownArgs);
2323

24-
for await (const line of stdio) {
25-
console.log(line);
26-
}
24+
for await (const line of stdio) {
25+
console.log(line);
26+
}
2727
}

0 commit comments

Comments
 (0)