Skip to content

Commit

Permalink
remove an unnecessary block
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed Jun 10, 2016
1 parent 955c0a8 commit c31ba0d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/execution/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,13 +598,6 @@ function resolveField(
result
);

if (isThenable(completed)) {
return ((completed: any): Promise).catch(error => {
error.executionPath = exePath;
return Promise.reject(error);
});
}

return completed;
}

Expand Down

0 comments on commit c31ba0d

Please sign in to comment.