Browse Source

Remove unneeded promise step

Gaël Métais 10 năm trước cách đây
mục cha
commit
30ae0f93f3
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      lib/runner.js

+ 0 - 6
lib/runner.js

@@ -52,12 +52,6 @@ var Runner = function(params) {
         delete data.toolsResults.phantomas.metrics.scrollExecutionTree;
         delete data.toolsResults.phantomas.offenders.scrollExecutionTree;
 
-        return data;
-
-    })
-
-    .then(function(data) {
-
         // Finished!
         deferred.resolve(data);