You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the stat fails because the path is not valid and so if the error is differetn than not exist, info is nil and so the line info.IsDir panics with runtime error: invalid memory address or nil pointer dereference
The correct behaviour should be to return an error if stat fails
The text was updated successfully, but these errors were encountered:
in https://github.com/graymeta/stow/blob/973a61f346d598a566affb53c4698764a67df164/local/container.go#L132
if the
stat
fails because the path is not valid and so if the error is differetn than not exist,info
is nil and so the line info.IsDir panics with runtime error: invalid memory address or nil pointer dereferenceThe correct behaviour should be to return an error if stat fails
The text was updated successfully, but these errors were encountered: