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

Bugfix: Convert async fs operation to sync so it doesnt fail in newer… #175

Merged
merged 2 commits into from
Aug 18, 2018

Conversation

renarsvilnis
Copy link
Contributor

@renarsvilnis renarsvilnis commented Aug 13, 2018

Bugfix: Convert async fs operation to sync so it doesn't fail in newer node.js versions as the now require a callback, can't be optional anymore.

Don't merge yet, tests are failing. Working on a fix.

Update:
Test failing, because unlinkSync actually expects a real file otherfails fails.

@pstadler, how should I fix it?

  1. Allow it fail silently
  2. Create a real temp file for tests
  3. ???

@coveralls
Copy link

coveralls commented Aug 13, 2018

Coverage Status

Coverage remained the same at 99.219% when pulling 8a1b09a on renarsvilnis:master into 7a40a11 on pstadler:master.

@renarsvilnis
Copy link
Contributor Author

@pstadler So what should I do to fix it?

@pstadler
Copy link
Owner

You need to change this to unlinkSync:

unlink: function() {}

@renarsvilnis
Copy link
Contributor Author

Lol somehow missed it. Fixed.

@pstadler pstadler merged commit 2f23db5 into pstadler:master Aug 18, 2018
@pstadler
Copy link
Owner

thanks 🍻

@pstadler
Copy link
Owner

Published on npm. Release notes: https://github.com/pstadler/flightplan/releases/tag/0.6.19

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.

3 participants