fix unit tests
This commit is contained in:
parent
092839224f
commit
6d94ef4ac0
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ global.define = function (id, injects, factory) {
|
|||
relativeId = "../" + absolutePath.match(new RegExp(rootPath + "(.*)"))[1];
|
||||
}
|
||||
|
||||
if (prefix == "text") {
|
||||
if (prefix == "ace/requirejs/text") {
|
||||
return fs.readFileSync(findModulePath(relativeId))
|
||||
} else
|
||||
return require(relativeId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue