Skip to content

Commit d8d432e

Browse files
authored
Git ignore the **/caddy directories (#960)
This will successfully ignore the following files: - `config/caddy/autosave.json`. - `data/caddy/instance.uuid`. - `data/caddy/last_clean.json`.
1 parent 4853917 commit d8d432e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function installFrankenPhpServer()
141141
if (File::exists($gitIgnorePath)) {
142142
$contents = File::get($gitIgnorePath);
143143

144-
$filesToAppend = collect(['/caddy', 'frankenphp', 'frankenphp-worker.php'])
144+
$filesToAppend = collect(['**/caddy', 'frankenphp', 'frankenphp-worker.php'])
145145
->filter(fn ($file) => ! str_contains($contents, $file.PHP_EOL))
146146
->implode(PHP_EOL);
147147

0 commit comments

Comments
 (0)