Skip to content

Commit 9ea44af

Browse files
krienowbarryvdh
authored andcommitted
Add newline character. (barryvdh#477)
1 parent a3858e5 commit 9ea44af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/FilesystemStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function save($id, $data)
3333
{
3434
if (!$this->files->isDirectory($this->dirname)) {
3535
if ($this->files->makeDirectory($this->dirname, 0777, true)) {
36-
$this->files->put($this->dirname . '.gitignore', "*\n!.gitignore");
36+
$this->files->put($this->dirname . '.gitignore', "*\n!.gitignore\n");
3737
} else {
3838
throw new \Exception("Cannot create directory '$this->dirname'..");
3939
}

0 commit comments

Comments
 (0)