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

fix: support path input from Buffer on many fs APIs #293

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Conversation

3cp
Copy link
Collaborator

@3cp 3cp commented Apr 20, 2020

There is missing support of "path <string> | <Buffer> | <URL>" on many fs APIs.

closes #292

@3cp
Copy link
Collaborator Author

3cp commented Apr 20, 2020

@tschaub something wrong with your travis account? The CI didn't start.

@3cp
Copy link
Collaborator Author

3cp commented Apr 20, 2020

We can move from travis to github actions (which supports win10 and macOS too), if you wanna remove the dependency on travis.

Copy link

@sindilevich sindilevich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest refactoring the Buffer stringification out to a utility function. Then, all other places would use the function's result in their code flow.

lib/binding.js Outdated Show resolved Hide resolved
@tschaub
Copy link
Owner

tschaub commented Apr 20, 2020

We can move from travis to github actions (which supports win10 and macOS too), if you wanna remove the dependency on travis.

Good suggestion. Please rebase now that #296 is in.

There is missing support of "path <string> | <Buffer> | <URL>" on many fs APIs.

closes #292
@3cp
Copy link
Collaborator Author

3cp commented Apr 20, 2020

Passed checks.

@tschaub
Copy link
Owner

tschaub commented Apr 21, 2020

Thanks, @3cp!

@tschaub tschaub merged commit bc04178 into master Apr 21, 2020
@tschaub tschaub deleted the recursive-rmdir branch April 21, 2020 00:08
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.

fs.rmdir looks not support "recursive"
3 participants