Skip to content

Conversation

@iamnapo
Copy link
Contributor

@iamnapo iamnapo commented Oct 2, 2020

  • Updated devDeps to latest versions.
  • Refactored to match latest xo code-style.
  • Refactored to fix breaking changes of ava v3.
  • Also test against Node 14. (Only a tiny change in fs.writeFileSync).

@sindresorhus
Copy link
Owner

Sure, go ahead with the refactor.

@iamnapo iamnapo changed the title Avoid using Array#reduce Refactor to satisfy latest xo code-style and support Node v14 Oct 2, 2020
Co-authored-by: Sindre Sorhus <[email protected]>
@iamnapo iamnapo requested a review from sindresorhus October 4, 2020 13:57
@sindresorhus sindresorhus changed the title Refactor to satisfy latest xo code-style and support Node v14 Upgrade dev dependencies Oct 4, 2020
@sindresorhus sindresorhus merged commit 52d02bb into sindresorhus:master Oct 4, 2020
@sindresorhus
Copy link
Owner

Thanks :)

@iamnapo iamnapo deleted the patch-1 branch October 4, 2020 21:03
Copy link

@andi1984 andi1984 left a 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 {
Copy link

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?

@sindresorhus
Copy link
Owner

#167 (comment)

Repository owner locked and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants