Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Replaces '/' with path.sep
Browse files Browse the repository at this point in the history
for Windows
  • Loading branch information
jamesplease committed Feb 7, 2014
1 parent 6cc5d1e commit f589946
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ module.exports = function(grunt) {
};
};

var appendTrailingSlash = function(path) {
if (path.length > 0) {
return path + '/';
var appendTrailingSlash = function(dirname) {
if (dirname.length > 0) {
return dirname + path.sep;
} else {
return path;
return dirname;
}
};

Expand Down

0 comments on commit f589946

Please sign in to comment.