We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.hack
1 parent 6df2054 commit 8a67f08Copy full SHA for 8a67f08
src/HackfmtFormatter.hack
@@ -19,7 +19,7 @@ final class HackfmtFormatter implements ICodegenFormatter {
19
$output = vec[];
20
$exit_code = null;
21
22
- $tempnam = \tempnam(\sys_get_temp_dir(), 'hack-codegen-hackfmt');
+ $tempnam = \tempnam(\sys_get_temp_dir(), 'hack-codegen-hackfmt').'.hack';
23
24
$options = $this->getFormattedOptions();
25
0 commit comments