From 7af7b4feacb7706ced9b4b88c4ec8215d8310ff1 Mon Sep 17 00:00:00 2001 From: Torjus Eidet Date: Fri, 4 Oct 2013 18:36:27 +0200 Subject: [PATCH] Replace / with \\ in concat path on win32 --- tasks/angular-templates.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/angular-templates.js b/tasks/angular-templates.js index 1d5943a..a62e14f 100644 --- a/tasks/angular-templates.js +++ b/tasks/angular-templates.js @@ -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) {