Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Whoops, hit x instead of :x in vim
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Feb 13, 2019
1 parent 098a89a commit 46b5f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hh-autoload.hack
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class GenerateScript {
private static function initBootstrapAutoloader(): void {
// NO HSL HERE - autoloader is not yet initialized
$hsl_root = \getcwd().'/vendor/hhvm/hsl';
if (!file_exists($hsl_root)) {
if (!\file_exists($hsl_root)) {
// the HSL uses hhvm-autoload, but then the HSL is the root project,
// not in vendor/
$hsl_root = \getcwd();
Expand Down

0 comments on commit 46b5f67

Please sign in to comment.