Skip to content

Commit c235d98

Browse files
authored
[2.x] Fixes missing entry to .gitignore (#780)
* Ignores caddy directory * Ignore warnings regarding $HOME
1 parent 9fe22cb commit c235d98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Commands/Concerns/InteractsWithIO.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ trait InteractsWithIO
3838
'exiting; byeee!!',
3939
'storage cleaning happened too recently',
4040
'write error',
41+
'unable to determine directory for user configuration; falling back to current directory',
42+
'$HOME environment variable is empty',
4143
];
4244

4345
/**

src/Commands/InstallCommand.php

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

137-
$filesToAppend = collect(['frankenphp', 'frankenphp-worker.php'])
137+
$filesToAppend = collect(['/caddy', 'frankenphp', 'frankenphp-worker.php'])
138138
->filter(fn ($file) => ! str_contains($contents, $file.PHP_EOL))
139139
->implode(PHP_EOL);
140140

0 commit comments

Comments
 (0)