From 167ae38f20f2b857c9576d1d32fc205713ee5ef9 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Thu, 30 Nov 2017 09:38:59 +0000 Subject: [PATCH] quickfixed to `normalizePath` to force unix directory separator for substitutions to work in Windows --- src/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Builder.php b/src/Builder.php index 0cd11c5..b735919 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -252,7 +252,7 @@ public function substituteOutputDirs($data) return static::substitutePaths($data, $dir, static::BASE_DIR_MARKER); } - public static function normalizePath($path, $ds = DIRECTORY_SEPARATOR) + public static function normalizePath($path, $ds = '/') { return rtrim(strtr($path, '/\\', $ds . $ds), $ds); }