Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Aug 7, 2016
1 parent e2bc607 commit 8586660
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rules/prefer-async-await.js
Expand Up @@ -34,7 +34,6 @@ const create = context => {
const statements = node.body.body;
const returnStatement = statements.find(statement => statement.type === 'ReturnStatement');
if (returnStatement && containsThen(returnStatement.argument)) {
// Now go and find a .then()...
context.report({
node,
message: 'Prefer using async/await instead of returning a Promise.'
Expand Down

0 comments on commit 8586660

Please sign in to comment.