-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prettier formatting #604
Prettier formatting #604
Conversation
lib/StripeMethod.basic.js
Outdated
null, | ||
path, | ||
{ | ||
metadata: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor, would you mind removing the newline before metadata
here such that the output is {metadata: null}
? this is the ~one place that prettier respects original formatting, annoyingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(same below)
… yarn and prettier
c15d6e4
to
ea62a5f
Compare
ea62a5f
to
ee3022f
Compare
ee3022f
to
8ee5536
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome ✨
README.md
Outdated
email: '[email protected]', | ||
}, | ||
function(err, customer) { | ||
err; // null if no error occurred |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can we do something with these values? It looks a little odd by themselves. Perhaps something like:
if (err) {
// Deal with an error
}
// Do something with created customer object
console.log(customer.id)
@rattrayalex-stripe @paulasjes-stripe Feedback addressed. Since this was already approved and my changes were trivial, I’m going to merge this. |
LGTM |
Added Prettier formatting.