Skip to content

Commit ef1b5f1

Browse files
authored
Merge pull request #202 from damiani/kd-caddyfile-fix-dsstore
Fix potential launch failure by removing .DS_Store file from Caddy directory
2 parents 7337479 + b366d5e commit ef1b5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/Valet/Caddy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function installCaddyDaemon()
108108
function restart()
109109
{
110110
$this->cli->quietly('sudo launchctl unload '.$this->daemonPath);
111-
111+
$this->files->unlink(VALET_HOME_PATH.'/Caddy/.DS_Store');
112112
$this->cli->quietly('sudo launchctl load '.$this->daemonPath);
113113
}
114114

0 commit comments

Comments
 (0)