Skip to content

Commit

Permalink
Merge pull request #49 from torjue/master
Browse files Browse the repository at this point in the history
Replace / with \\ in concat path on win32

Closes #48
  • Loading branch information
ericclemmons committed Oct 17, 2013
2 parents 553988c + 7af7b4f commit 06e9649
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/angular-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ module.exports = function(grunt) {

// Append file.dest to specified concat target
if (options.concat) {

if (process.platform === 'win32') {
options.concat = options.concat.replace(/\//g, '\\');
}

var config = grunt.config(['concat', options.concat]);

if (!config) {
Expand Down

0 comments on commit 06e9649

Please sign in to comment.