File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function __construct(CommandLine $cli, Filesystem $files) {
3939 'php --ri curl ' ,
4040 'cmd /C curl --version ' ,
4141 'cat " ' . pathFilter (COMPOSER_GLOBAL_PATH ) . '/composer.json" ' ,
42- 'composer global diagnose --no-ansi 1> composer.txt ' ,
42+ 'composer global diagnose --no-ansi 1> ' . VALET_HOME_PATH . ' / composer.txt ' ,
4343 'composer global outdated --format json '
4444 ];
4545 }
@@ -183,8 +183,8 @@ protected function editOutput($command, $output) {
183183 }
184184
185185 if (str_contains ($ command , "composer global diagnose " )) {
186- $ output = $ this ->cli ->powershell ('cat composer.txt ' );
187- $ this ->files ->unlink (' composer.txt ' );
186+ $ output = $ this ->cli ->powershell ('cat ' . VALET_HOME_PATH . ' / composer.txt ' );
187+ $ this ->files ->unlink (VALET_HOME_PATH . ' / composer.txt ' );
188188 }
189189
190190 if (str_contains ($ command , "composer global outdated " )) {
You can’t perform that action at this time.
0 commit comments