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:
Ingo Richter committed 2014-02-27 18:21:32 -08:00
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;
}