Skip to content

Commit

Permalink
Add newline character. (barryvdh#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
krienow authored and barryvdh committed Dec 24, 2017
1 parent a3858e5 commit 9ea44af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/FilesystemStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function save($id, $data)
{
if (!$this->files->isDirectory($this->dirname)) {
if ($this->files->makeDirectory($this->dirname, 0777, true)) {
$this->files->put($this->dirname . '.gitignore', "*\n!.gitignore");
$this->files->put($this->dirname . '.gitignore', "*\n!.gitignore\n");
} else {
throw new \Exception("Cannot create directory '$this->dirname'..");
}
Expand Down

0 comments on commit 9ea44af

Please sign in to comment.