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

Avoid "Debug > Open Brackets Source" hitting symlink bug #6692 #9399

Merged
merged 2 commits into from
Oct 2, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/extensions/default/DebugCommands/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ define(function (require, exports, module) {
Strings = brackets.getModule("strings"),
PreferencesManager = brackets.getModule("preferences/PreferencesManager"),
LocalizationUtils = brackets.getModule("utils/LocalizationUtils"),
ProjectManager = brackets.getModule("project/ProjectManager"),
ErrorNotification = require("ErrorNotification"),
NodeDebugUtils = require("NodeDebugUtils"),
PerfDialogTemplate = require("text!htmlContent/perf-dialog.html"),
Expand Down Expand Up @@ -256,7 +255,7 @@ define(function (require, exports, module) {
function handleOpenBracketsSource() {
// Brackets source dir w/o the trailing src/ folder
var dir = FileUtils.getNativeBracketsDirectoryPath().replace(/\/[^\/]+$/, "/");
ProjectManager.openProject(dir);
brackets.app.showOSFolder(dir);
}

/* Register all the command handlers */
Expand Down