Explorar o código

Remove unneeded promise step

Gaël Métais %!s(int64=10) %!d(string=hai) anos
pai
achega
30ae0f93f3
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  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);