diff --git a/src/Writer.hack b/src/Writer.hack index b8c44a6..85869be 100644 --- a/src/Writer.hack +++ b/src/Writer.hack @@ -184,7 +184,7 @@ final class Writer { $autoload_map_typedef = '__DIR__.\'/../\'.'.\var_export($this->relativePath(__DIR__.'/AutoloadMap.hack'), true); } else { - $autoload_map_typedef = \var_export(__DIR__.'/AutoloadMap.php', true); + $autoload_map_typedef = \var_export(__DIR__.'/AutoloadMap.hack', true); } $code = <<<EOF /// Generated file, do not edit by hand ///