Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Nov 3, 2023
1 parent bd7790d commit ed53f06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/skywire-cli/commands/log/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ var logCmd = &cobra.Command{
for _, v := range uptimes {
//only attempt to fetch from online visors
if v.Online {
if fetchFile == "" { visorVersion, err := version.NewVersion(v.Version) //nolint
includeV := contains(incVerList, v.Version)
if fetchFile == "" {
visorVersion, err := version.NewVersion(v.Version) //nolint
includeV := contains(incVerList, v.Version)
if err != nil && !includeV {
log.Warnf("The version %s for visor %s is not valid", v.Version, v.PubKey)
continue
Expand Down

0 comments on commit ed53f06

Please sign in to comment.