Skip to content

Conversation

@toddself
Copy link

@toddself toddself commented May 31, 2017

Wasn't sure if you wanted to do statSync with the try/catch block, or if you wanted to keep the async call and just provide the callback?

Unfortunately, Node code has decided that a stable module needs busy work
and have deprecated the use of synchronous APIs without supplying callbacks.

I wasn't sure if you wanted to do this with an async call or if it should
keep the try/catch and use the statSync method.
@toddself
Copy link
Author

See: nodejs/node#12562

@juliangruber
Copy link
Owner

oh, yes this should have been .statSync! fixed in 4.0.3

@toddself
Copy link
Author

toddself commented Jun 2, 2017

thank you @juliangruber!

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