iver-wharf / wharf-provider-gitlab

Import Wharf projects from GitLab repositories
MIT License
2 stars 0 forks source link

Updated wharf-api-client-go to v1.3.1 #26

Closed applejag closed 3 years ago

applejag commented 3 years ago

Summary

Motivation

Keep the repos up to date, and begone with linting warnings

Before:

$ npm run lint-go

> @ lint-go /home/kalle/dev/wharf/wharf-provider-gitlab
> revive -formatter stylish -config revive.toml ./...

testdoubles/wharfclientapifetcher_mock.go
  (15, 37)  https://revive.run/r#var-naming  method GetTokenById should be GetTokenByID
  (34, 37)  https://revive.run/r#var-naming  method GetProviderById should be GetProviderByID

trigger.go
  (17, 41)  https://revive.run/r#empty-block  this block is empty, you can remove it

 ✖ 3 problems (0 errors) (3 warnings)

Now, after this PR:

$ npm run lint-go

> @ lint-go /home/kalle/dev/wharf/wharf-provider-gitlab
> revive -formatter stylish -config revive.toml ./...