Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Junk pr #1580

Closed
wants to merge 5 commits into from
Closed

Junk pr #1580

wants to merge 5 commits into from

Conversation

JonKohler
Copy link
Contributor

Alright, lets try this again, with even more junk and a proper golangci file

@JonKohler
Copy link
Contributor Author

well, this is highly embarrassing. My apologies. This works for me when I do it on my project :( For example, see here: nutanix/terraform-provider-nutanix#145

I'll open up an issue with the golangci team real quick.

@JonKohler
Copy link
Contributor Author

I've filed an issue on the central tracker for golangCI here to see if we can figure out why this isn't flagging (anything) in this pile of garbage PR - golangci/golangci#9

@casualjim
Copy link
Member

as you can see golangci is now required

@JonKohler
Copy link
Contributor Author

fantastic, thanks! Let's use this to drive to conclusion with upstream to figure out why its not doing what it should be doing

@JonKohler
Copy link
Contributor Author

They've got an issue with their service for this repo, they are fixing it per: golangci/golangci#9 (comment)

@@ -13,7 +13,7 @@
// limitations under the License.

package main

package mainpackage mainpackage mainpackage mainpackage main

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expected declaration, found 'package' (and 4 more errors)

@@ -68,10 +82,10 @@ It aims to represent the contract of your API with a language agnostic descripti
if err != nil {
log.Fatal(err)
}

s

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undeclared name: s

_, err = parser.AddCommand("init", "initialize a spec document", "initialize a swagger spec document", &commands.InitCmd{})
if err != nil {
log.Fatal(err)
log.Fatal(err)sdf

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undeclared name: log

@JonKohler
Copy link
Contributor Author

As you guys can see, they fixed up the issue that I wrote about in the ticket on their system, and this is how they work for other PRs

happy hunting!

@JonKohler JonKohler closed this Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants