Skip to content

Commit

Permalink
Replace / with \\ in concat path on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
Torjus Eidet committed Oct 4, 2013
1 parent 553988c commit 7af7b4f
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 7af7b4f

Please sign in to comment.