Skip to content

Commit

Permalink
feat: http proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jevantang committed Oct 24, 2023
1 parent 046e736 commit cac5a7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Commands/PluginComposerUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ class PluginComposerUpdateCommand extends Command

public function handle()
{
$httpProxy = config('app.http_proxy');

$process = Process::run(<<<"SHELL"
export http_proxy=$httpProxy https_proxy=$httpProxy
echo http_proxy=\$http_proxy
echo https_proxy=\$https_proxy
echo "current user:" `whoami`
echo "home path permission is:" `ls -ld ~`
echo ""
Expand Down

0 comments on commit cac5a7c

Please sign in to comment.