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

Commit

Permalink
On Wiindows Path is converted to windows style when opening with exte…
Browse files Browse the repository at this point in the history
…rnal editor
  • Loading branch information
Nitesh Kumar committed Mar 19, 2020
1 parent f9f584e commit 3120f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/default/OpenWithExternalApplication/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3120f48

Please sign in to comment.