From 3120f48dcef34e288cb95d0ea273da0d4a3c5a88 Mon Sep 17 00:00:00 2001 From: Nitesh Kumar Date: Thu, 19 Mar 2020 21:14:03 +0530 Subject: [PATCH] On Wiindows Path is converted to windows style when opening with external editor --- src/extensions/default/OpenWithExternalApplication/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/default/OpenWithExternalApplication/main.js b/src/extensions/default/OpenWithExternalApplication/main.js index f9151b42d7d..71ddd0db166 100644 --- a/src/extensions/default/OpenWithExternalApplication/main.js +++ b/src/extensions/default/OpenWithExternalApplication/main.js @@ -49,7 +49,7 @@ define(function (require, exports, module) { var extensionToExtApplicationMap = {}; function convertUnixPathToWindowsPath(path) { - if (brackets.platform === "win") { + if (brackets.platform === "win" && path && path.charAt(0).isAlpha()) { path = path.split("/").join("\\"); } return path;