Skip to content

Commit

Permalink
quickfixed to normalizePath to force unix directory separator for s…
Browse files Browse the repository at this point in the history
…ubstitutions to work in Windows
  • Loading branch information
hiqsol committed Nov 30, 2017
1 parent 4c7e79d commit 167ae38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 167ae38

Please sign in to comment.