From 1b58491680d9b854505db61f538706397713735e Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Tue, 21 Jul 2015 16:46:40 +0530 Subject: [PATCH] fixing fuse.jag issue on windows --- .../src/repository/jaggeryapps/iotserver/lib/fuse.jag | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag b/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag index 748d82ed..c7731e91 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag @@ -1,4 +1,10 @@ <% +var getPath = File.prototype.getPath; +File.prototype.getPath = function() { + var path = getPath.call(this); + path = path.replace(/\\/g, '/'); + return path; +}; //global object to pass request stat among fuse framework files. var fuseState = {