We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2892e56 + d587dba commit 708495bCopy full SHA for 708495b
src/main/kotlin/com/wsl/symlinks/vfs/WslVirtualFileSystem.kt
@@ -256,7 +256,7 @@ class WslVirtualFileSystem: LocalFileSystemImpl() {
256
val file = getRealVirtualFile(vfile)
257
var attributes = super.getAttributes(file)
258
259
- if (attributes != null && attributes.type == null && this.getWslSymlinksProviders(file).isWslSymlink(file)) {
+ if (attributes != null && attributes.type == null && file.isFromWSL() && this.getWslSymlinksProviders(file).isWslSymlink(file)) {
260
val resolved = this.resolveSymLink(file)?.let { resPath ->
261
return@let object : StubVirtualFile() {
262
override fun getPath(): String {
0 commit comments