-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
feat: add fs/resolve-parent-paths-by
#2897
base: develop
Are you sure you want to change the base?
feat: add fs/resolve-parent-paths-by
#2897
Conversation
@stdlib/fs/resolve-parent-paths-by
hey @kgryte, can you explain this linting error in |
@gururaj1512 is this when you try to commit? |
@Snehil-Shah that error occurs when commiting and also while running |
@gururaj1512 Weird. I can't seem to reproduce the error. Did you follow the setup guide properly? ( |
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/lib/index.js
Outdated
Show resolved
Hide resolved
Yaa, I have tried |
Co-authored-by: Snehil Shah <[email protected]> Signed-off-by: Gururaj Gurram <[email protected]>
Ok, was able to reproduce it. Seems to me, it's something specific to npx as I am able to commit the file without any errors. And in any case, you don't need to run |
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.
LGTM otherwise!
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/lib/index.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/lib/sync.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/docs/repl.txt
Outdated
Show resolved
Hide resolved
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.
Also, was the issue with your dev environment resolved @gururaj1512?
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/docs/types/index.d.ts
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/docs/types/index.d.ts
Outdated
Show resolved
Hide resolved
@Snehil-Shah, the issue with my dev environment has been resolved. Thank you for checking in! |
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.
LGTM. On to @kgryte.
@stdlib/fs/resolve-parent-paths-by
fs/resolve-parent-paths-by
lib/node_modules/@stdlib/fs/resolve-parent-paths-by/lib/main.js
Outdated
Show resolved
Hide resolved
*/ | ||
function onExists( error, bool ) { // eslint-disable-line node/handle-callback-err | ||
if ( bool ) { | ||
test( spath, onTest ); |
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.
Same problem here.
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.
@Snehil-Shah, Can you also go through this function & rereview it.
…/gururaj1512/2897
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.
This PR needs to address the race conditions during async processing before we can merge.
@kgryte, Modified the code to address race conditions. Can you re-review it. |
/stdlib merge |
/stdlib merge |
Coverage Report
The above coverage report was generated for the changes in this PR. |
Resolves #2567.
Description
This pull request:
@stdlib/fs/resolve-parent-paths-by
#2567Related Issues
This pull request:
@stdlib/fs/resolve-parent-paths-by
#2567Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers