Skip to content

Commit a44743e

Browse files
Adding diagnose commands.
1 parent a876175 commit a44743e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cli/Valet/Diagnose.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,17 @@ class Diagnose
4141
'ls -al ~/Library/LaunchAgents | grep homebrew',
4242
'ls -al /Library/LaunchAgents | grep homebrew',
4343
'ls -al /Library/LaunchDaemons | grep homebrew',
44+
'ls -al /Library/LaunchDaemons | grep "com.laravel.valet."',
4445
'ls -aln /etc/resolv.conf',
4546
'cat /etc/resolv.conf',
47+
'ifconfig lo0',
48+
'sh -c \'echo "------\n'.BREW_PREFIX.'/etc/nginx/valet/valet.conf\n---\n"; cat '.BREW_PREFIX.'/etc/nginx/valet/valet.conf | grep -n "# valet loopback"; echo "\n------\n"\'',
49+
'sh -c \'for file in ~/.config/valet/dnsmasq.d/*; do echo "------\n~/.config/valet/dnsmasq.d/$(basename $file)\n---\n"; cat $file; echo "\n------\n"; done\'',
50+
'sh -c \'for file in ~/.config/valet/nginx/*; do echo "------\n~/.config/valet/nginx/$(basename $file)\n---\n"; cat $file | grep -n "# valet loopback"; echo "\n------\n"; done\'',
51+
];
52+
53+
var $methods = [
54+
4655
];
4756

4857
var $cli, $files, $print, $progressBar;

0 commit comments

Comments
 (0)