mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
The fix is to cutoff the leading slash on a module name. Test is not working due to issues with the ProjectManager and the missing projectRoot
This commit is contained in:
1 parent
b408b51706
commit
b856768671
4 files changed
+62
-4
No files matched your search
@@ -789,8 +789,8 @@ define(function (require, exports, module) {
|
||||
*/
|
||||
function findNameInProject() {
|
||||
// check for any files in project that end with the right path.
|
||||
var fileName = name.substring(name.lastIndexOf("/"));
|
||||
|
||||
var fileName = name.substring(name.lastIndexOf("/") + 1);
|
||||
|
||||
function _fileFilter(entry) {
|
||||
return entry.name === fileName;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user