Skip to content

Commit d387bb0

Browse files
committed
using void operator
1 parent 7616f94 commit d387bb0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

demo.citty.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const main = defineCommand({
1919
alias: 'l',
2020
},
2121
},
22-
run(_ctx) { },
22+
run(_ctx) {},
2323
});
2424

2525
const devCommand = defineCommand({
@@ -31,7 +31,7 @@ const devCommand = defineCommand({
3131
host: { type: 'string', description: 'Specify hostname' },
3232
port: { type: 'string', description: 'Specify port' },
3333
},
34-
run(ctx) { },
34+
run(ctx) {},
3535
});
3636

3737
devCommand.subCommands = {
@@ -40,7 +40,7 @@ devCommand.subCommands = {
4040
name: 'build',
4141
description: 'Build project',
4242
},
43-
run({ args }) { },
43+
run({ args }) {},
4444
}),
4545
};
4646

@@ -52,7 +52,7 @@ const lintCommand = defineCommand({
5252
args: {
5353
files: { type: 'positional', description: 'Files to lint' },
5454
},
55-
run(ctx) { },
55+
run(ctx) {},
5656
});
5757

5858
main.subCommands = {
@@ -121,8 +121,8 @@ const completion = await tab(main, {
121121
},
122122
});
123123

124-
completion;
124+
void completion;
125125

126126
const cli = createMain(main);
127127

128-
cli();
128+
cli();

0 commit comments

Comments
 (0)