From 1967bc8bd52c3ead612c9071b6dd69247cd73c8c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 4 Jan 2019 23:08:34 +0000 Subject: [PATCH] fix: symlink not showing corretly License: MIT Signed-off-by: Henrique Dias --- files/file.go | 2 +- frontend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/file.go b/files/file.go index 2c932c87..aa8d1910 100644 --- a/files/file.go +++ b/files/file.go @@ -205,7 +205,7 @@ func (i *FileInfo) readListing(checker rules.Checker) error { if strings.HasPrefix(f.Mode().String(), "L") { // It's a symbolic link. We try to follow it. If it doesn't work, // we stay with the link information instead if the target's. - info, err := os.Stat(name) + info, err := i.Fs.Stat(path) if err == nil { f = info } diff --git a/frontend b/frontend index 3e14855e..a7102977 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit 3e14855e4f9b5719164f79b5ac8ccdf019f6429e +Subproject commit a71029771582dbc85baa5a4eb984d800311b01c5