Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add Windows Hello support #83
Add Windows Hello support #83
Changes from all commits
b145a0b
9611e68
db4d6c5
dda8daa
58ca1cb
a7bf1d4
13e8f6f
2fe356d
58c2b95
885e2f5
4fadb66
080121c
1343bc8
02168f5
de97298
15488af
8860347
691c5c6
30321e2
58518b1
26e12c5
9e8c35a
85528ea
b75b132
9ac7cb6
4329408
9d58bef
02d2383
8e9da54
2446a1f
1dc2adb
1264677
5c22aa0
6d4e6e7
c816046
472546b
1d3904b
a450cb2
1902053
75f5bcb
a318ae3
eb7c6d4
2afe296
8864528
649c0e6
5c1e4af
af248a3
ef57359
3a79eca
264eed1
4dc73eb
f44c0a2
1f83dc0
e6ce85f
80391b4
f1f60d1
145a114
3ac569d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Ensure proper expansion of '~' in path resolution
The current implementation uses
path.startsWith(USER_HOME_REL)
, whereUSER_HOME_REL
isPath.of("~")
. However, thePath
class in Java does not interpret the tilde~
as the home directory. As a result, this check may not work as intended, and paths starting with~
may not be correctly resolved to the user's home directory.To correctly expand paths starting with
~
, consider checking the first path segment as a string and performing the substitution accordingly.Apply this diff to fix the path resolution:
📝 Committable suggestion