Skip to content
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

call only promisify on util #846

Merged
merged 1 commit into from
Apr 29, 2018
Merged

call only promisify on util #846

merged 1 commit into from
Apr 29, 2018

Conversation

nacimgoura
Copy link
Contributor

@nacimgoura nacimgoura commented Apr 28, 2018

Calling only the function that is used allows more clarity and lightness.
Replace const util = require('util');by const { promisify } = require('util');

@nacimgoura nacimgoura changed the title call only promisify on util call only promisify on util Apr 28, 2018
Calling only the function that is used allows more clarity and lightness.
@YasharF
Copy link
Collaborator

YasharF commented Apr 29, 2018

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants