Skip to content

Commit 57013e3

Browse files
committed
Fix
1 parent 838444b commit 57013e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/library_fs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,7 @@ FS.staticInit();
904904
if (!link.node_ops.readlink) {
905905
throw new FS.ErrnoError({{{ cDefs.EINVAL }}});
906906
}
907-
var target = link.node_ops.readlink(link);
908-
return PATH_FS.resolve(FS.getPath(link.parent), target);
907+
return link.node_ops.readlink(link);
909908
},
910909
stat(path, dontFollow) {
911910
var lookup = FS.lookupPath(path, { follow: !dontFollow });

0 commit comments

Comments
 (0)