Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 1226a67

Browse files
committed
lint
1 parent c62f8d4 commit 1226a67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/dorm/codegen.hack

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ final class DormCodegenCLI extends \Facebook\CLILib\CLIWithRequiredArguments {
4646
continue;
4747
}
4848
$instance = $ref->newInstance() as DormSchema;
49+
/* HHAST_IGNORE_ERROR[DontAwaitInALoop] */
4950
await $this->getStdout()
5051
->writeAsync("Generating code for ".$class_name."\n");
5152
(new CodegenDorm($instance))->generate();
@@ -57,7 +58,7 @@ final class DormCodegenCLI extends \Facebook\CLILib\CLIWithRequiredArguments {
5758
}
5859

5960
<<__EntryPoint>>
60-
async function dorm_codegen_cli_main(): Awaitable<noreturn> {
61+
async function dorm_codegen_cli_main_async(): Awaitable<noreturn> {
6162
$exit_code = await DormCodegenCLI::runAsync();
6263
exit($exit_code);
6364
}

0 commit comments

Comments
 (0)