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

Commit

Permalink
replace $GLOBALS with \HH\global_get()
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus committed Sep 21, 2020
1 parent 5b914cb commit 17b7cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLIBase.hack
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ abstract class CLIBase implements ITerminal {
$err = IO\request_error() ?? $out;
try {
$responder = new static(
vec(/* HH_IGNORE_ERROR[2050] */ $GLOBALS['argv']),
vec(/* HH_FIXME[4110] */ \HH\global_get('argv')),
new Terminal($in, $out, $err),
);
return await $responder->mainAsync();
Expand Down

0 comments on commit 17b7cef

Please sign in to comment.