fix: symlink not showing corretly
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
7d263dbabd
commit
1967bc8bd5
@ -205,7 +205,7 @@ func (i *FileInfo) readListing(checker rules.Checker) error {
|
|||||||
if strings.HasPrefix(f.Mode().String(), "L") {
|
if strings.HasPrefix(f.Mode().String(), "L") {
|
||||||
// It's a symbolic link. We try to follow it. If it doesn't work,
|
// 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.
|
// 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 {
|
if err == nil {
|
||||||
f = info
|
f = info
|
||||||
}
|
}
|
||||||
|
|||||||
2
frontend
2
frontend
@ -1 +1 @@
|
|||||||
Subproject commit 3e14855e4f9b5719164f79b5ac8ccdf019f6429e
|
Subproject commit a71029771582dbc85baa5a4eb984d800311b01c5
|
||||||
Loading…
Reference in New Issue
Block a user