File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 25
25
'clear_directory_when_overwriting ' => false ,
26
26
27
27
/*
28
- * Keep existing file in base directory when this file is
28
+ * Keep existing file in base directory when this file is
29
29
* not existing in environment that being set as active.
30
30
*/
31
31
'keep_existing_file_when_missing ' => false ,
Original file line number Diff line number Diff line change @@ -177,8 +177,9 @@ public function setActive($name)
177
177
178
178
$ this ->activateFiles ();
179
179
180
- if (! $ this ->getConfig ('keep_existing_file_when_missing ' ))
180
+ if (! $ this ->getConfig ('keep_existing_file_when_missing ' )) {
181
181
$ this ->deleteNotExistingFiles ();
182
+ }
182
183
183
184
return true ;
184
185
}
@@ -213,7 +214,7 @@ protected function deleteNotExistingFiles()
213
214
214
215
collect ($ files )
215
216
->each (function ($ file ) {
216
- if (File::exists ($ this ->path . $ file )) {
217
+ if (File::exists ($ this ->path . $ file )) {
217
218
return ;
218
219
}
219
220
You can’t perform that action at this time.
0 commit comments