Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Mar 25, 2019
1 parent be74f02 commit e2ba623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ast-utils.js
Expand Up @@ -63,7 +63,7 @@ const extractors = {
},

MemberExpression(names, node) {
extractors[node.property.type](names, node.property)
extractors[node.property.type](names, node.property);
}
};

Expand Down
4 changes: 2 additions & 2 deletions src/utils.js
Expand Up @@ -16,8 +16,8 @@ export function getName(id) {
export function first(candidates) {
return function(...args) {
return candidates.reduce((promise, candidate) => {
return promise.then(
result => (result != null ? result : Promise.resolve(candidate.call(this, ...args)))
return promise.then(result =>
result != null ? result : Promise.resolve(candidate.call(this, ...args))
);
}, Promise.resolve());
};
Expand Down

0 comments on commit e2ba623

Please sign in to comment.