From 3f3aa04ab5b6b7ba2cf00313288e48a85fec55e6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 2 Jan 2016 19:28:57 +0100 Subject: [PATCH] Unix end of line --- src/Gist/Service/Gist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gist/Service/Gist.php b/src/Gist/Service/Gist.php index 4c1bde5..45337f8 100644 --- a/src/Gist/Service/Gist.php +++ b/src/Gist/Service/Gist.php @@ -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)