Rework code for go 1.15
This commit is contained in:
parent
e9a8b7f781
commit
d19c348d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ func (m *Manager) Upgrade(name string, stdout, stderr io.Writer) error {
|
|||
}
|
||||
continue
|
||||
}
|
||||
if fileInfo.Mode().Type() == os.ModeSymlink {
|
||||
if fileInfo.Mode()&os.ModeSymlink != 0 {
|
||||
err = localExtensionUpgradeError
|
||||
if name == "" {
|
||||
fmt.Fprintf(stdout, "%s\n", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue