Skip to content

Use stat instead of lstat when checking CWD (fixes #204) - #214

Closed
stkb wants to merge 1 commit into
isaacs:masterfrom
stkb:cwd-stat
Closed

stkb wants to merge 1 commit into
isaacs:masterfrom
stkb:cwd-stat

Conversation

@stkb

@stkb stkb commented May 25, 2019

Copy link
Copy Markdown
Contributor

I had the problem of it not working when the CWD was a symbolic link. Can't see any reason to use lstat instead of stat here?

This allows CWD to be a symbolic link. Fixes isaacs#204
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.

1 participant