зеркало из https://github.com/mozilla/brackets.git
Merge pull request #1645 from adobe/glenn/issue-1640
Fix extensions unit tests when run from symlinked directory
This commit is contained in:
Коммит
8b5f60cce0
|
@ -97,7 +97,7 @@ define(function (require, exports, module) {
|
|||
extensionPath = FileUtils.getNativeBracketsDirectoryPath();
|
||||
|
||||
// Assumes the caller's window.location context is /test/SpecRunner.html
|
||||
extensionPath = extensionPath.replace("brackets/test", "brackets/src"); // convert from "test" to "src"
|
||||
extensionPath = extensionPath.replace(/\/test$/, "/src"); // convert from "test" to "src"
|
||||
extensionPath += "/" + config.baseUrl + "/" + entryPoint + ".js";
|
||||
|
||||
var fileExists = false, statComplete = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче