-
-
Notifications
You must be signed in to change notification settings - Fork 133
Upgrade dev dependencies #154
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
Conversation
|
Sure, go ahead with the refactor. |
Co-authored-by: Sindre Sorhus <[email protected]>
|
Thanks :) |
andi1984
left a comment
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.
IMHO there was a bug slipping through in a try-catch block which breaks now the latest release version 3.0.2.
| try { | ||
| stat = fs.statSync(options.cwd); | ||
| } catch (_) { | ||
| } catch { |
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.
@sindresorhus I think this issue slipped through with the removed brackets which fails now in the latest 3.0.2 version. Should I make a PR for fixing it?
fs.writeFileSync).