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

Commit ccc4b02

Browse files
committed
use renamed hsl-io function
1 parent f366b49 commit ccc4b02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/dorm/DormCodegenCLI.hack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class DormCodegenCLI extends \Facebook\CLILib\CLIWithRequiredArguments {
2727
$fname = C\firstx($this->getArguments());
2828
if (!\file_exists($fname)) {
2929
await $this->getStderr()
30-
->writeAsync(" File doesn't exist: ".$fname."\n\n");
30+
->writeAllAsync(" File doesn't exist: ".$fname."\n\n");
3131
return 1;
3232
}
3333

@@ -44,7 +44,7 @@ final class DormCodegenCLI extends \Facebook\CLILib\CLIWithRequiredArguments {
4444
$instance = $ref->newInstance() as DormSchema;
4545
/* HHAST_IGNORE_ERROR[DontAwaitInALoop] */
4646
await $this->getStdout()
47-
->writeAsync('Generating code for '.$class_name."\n");
47+
->writeAllAsync('Generating code for '.$class_name."\n");
4848
(new CodegenDorm($instance))->generate();
4949
(new CodegenMutator($instance))->generate();
5050
}

0 commit comments

Comments
 (0)