Skip to content

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

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

Use stat instead of lstat when checking CWD (fixes #204)#214
stkb wants to merge 1 commit intoisaacs:masterfrom
stkb:cwd-stat

Conversation

@stkb
Copy link
Contributor

@stkb stkb commented May 25, 2019

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