Skip to content

Commit

Permalink
Merge pull request #198 from CupOfTea696/master
Browse files Browse the repository at this point in the history
Don't prefetch on help
  • Loading branch information
hirak committed Feb 16, 2020
2 parents 01bed92 + 850fd26 commit 14119c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Plugin.php
Expand Up @@ -73,6 +73,10 @@ class_exists(__NAMESPACE__ . '\\' . $class);
$this->package = $composer->getPackage();

if (array_key_exists('argv', $GLOBALS)) {
if (in_array('help', $GLOBALS['argv'])) {
return $this->disable();
}

foreach ($GLOBALS['argv'] as $arg) {
switch ($arg) {
case 'create-project':
Expand Down

0 comments on commit 14119c0

Please sign in to comment.