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

simplify POSIX file handler #1002

Merged
merged 1 commit into from
Apr 27, 2023
Merged

simplify POSIX file handler #1002

merged 1 commit into from
Apr 27, 2023

Conversation

zekecato
Copy link
Contributor

@zekecato zekecato commented Apr 6, 2023

Checklist

  • The new code additions passed the tests (npm test).
  • The linter ran and found no issues (npm run-script lint).

Description

Initialize rootPath with a default value (empty string), and use path.resolve() to construct an absolute path. If an absolute path is provided, that will be used. if a relative path is provided, it will append that to the working directory.

Initialize rootPath with a default value, and use path.resolve to construct an absolute path.
@smwhr smwhr requested review from smwhr, ephread and y-lohse April 6, 2023 22:55
@smwhr
Copy link
Collaborator

smwhr commented Apr 6, 2023

LGTM if anyone else want to second the change.

@smwhr smwhr merged commit c1f7c94 into y-lohse:master Apr 27, 2023
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.

None yet

2 participants