Skip to content

Commit

Permalink
fix(karma-dart-evalcache): make the code compatible with karma 0.13.x
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Oct 3, 2015
1 parent 2628631 commit a649992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma-dart-evalcache.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a649992

Please sign in to comment.