Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 3120f48

Browse files
author
Nitesh Kumar
committed
On Wiindows Path is converted to windows style when opening with external editor
1 parent f9f584e commit 3120f48

File tree

1 file changed

+1
-1
lines changed
  • src/extensions/default/OpenWithExternalApplication

1 file changed

+1
-1
lines changed

src/extensions/default/OpenWithExternalApplication/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ define(function (require, exports, module) {
4949
var extensionToExtApplicationMap = {};
5050

5151
function convertUnixPathToWindowsPath(path) {
52-
if (brackets.platform === "win") {
52+
if (brackets.platform === "win" && path && path.charAt(0).isAlpha()) {
5353
path = path.split("/").join("\\");
5454
}
5555
return path;

0 commit comments

Comments
 (0)