Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Sep 23, 2019
1 parent 1931500 commit eb1a122
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -34,7 +34,8 @@ lint:
# TODO: fix tests issues
# TODO: fix lll issues
# TODO: fix funlen issues
./bin/golangci-lint run --tests=false --enable-all --disable=lll --disable funlen ./...
# TODO: fix godox issues
./bin/golangci-lint run --tests=false --enable-all --disable=lll --disable funlen --disable godox ./...
./bin/misspell -error **/*
.PHONY: lint

Expand Down
1 change: 0 additions & 1 deletion internal/http/http.go
Expand Up @@ -106,7 +106,6 @@ func CheckConfig(ctx *context.Context, put *config.Put, kind string) error {
}

return nil

}

func misconfigured(kind string, upload *config.Put, reason string) error {
Expand Down
1 change: 0 additions & 1 deletion internal/pipe/artifactory/artifactory.go
Expand Up @@ -76,7 +76,6 @@ func (Pipe) Publish(ctx *context.Context) error {
err := json.NewDecoder(res.Body).Decode(&r)
return err
})

}

// An ErrorResponse reports one or more errors caused by an API request.
Expand Down
1 change: 0 additions & 1 deletion internal/pipe/put/put.go
Expand Up @@ -44,5 +44,4 @@ func (Pipe) Publish(ctx *context.Context) error {
}
return nil
})

}

0 comments on commit eb1a122

Please sign in to comment.