Unix end of line

This commit is contained in:
Simon Vieille 2016-01-02 19:28:57 +01:00
parent acbde31ba0
commit 3f3aa04ab5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Gist
$command->setDirectory($this->gistPath);
$command->bypass(false);
return $this->gitWrapper->run($command);
return str_replace("\r\n", "\n", $this->gitWrapper->run($command));
}
public function create(GistModel $gist, array $data, $user = null)