fix(karma-dart-evalcache): make the code compatible with karma 0.13.x

This commit is contained in:
Igor Minar 2015-09-25 23:02:17 -07:00
parent 2628631aff
commit a649992ccd
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function createFactory(proxyPaths) {
function dartEvalCacheFactory(emitter, logger, customFileHandlers) {
var filesPromise = new common.PromiseContainer();
emitter.on('file_list_modified', function(files) {
filesPromise.set(files);
filesPromise.set(Promise.resolve(files));
});
var serveFile = common.createServeFile(fs);