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

lint: execute errcheck using ExecInDir #2726

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Feb 14, 2020

Execute errcheck using ExecInDir so that it will use the package of the
current buffer. It looks like it was inadvertently changed from
ExecInDir to Exec a long while ago when the exec functions were
refactored.

Fixes #2725

Execute errcheck using ExecInDir so that it will use the package of the
current buffer. It looks like it was inadvertently changed from
ExecInDir to Exec a long while ago when the exec functions were
refactored.

Add tests to verify more go#lint#Errcheck behvaviors.

Fixes fatih#2725
@bhcleek bhcleek force-pushed the lint/errcheck/options-no-package branch from 17dd529 to c99b2f1 Compare February 14, 2020 20:42
@bhcleek bhcleek merged commit 092da30 into fatih:master Feb 14, 2020
@bhcleek bhcleek deleted the lint/errcheck/options-no-package branch February 14, 2020 21:23
bhcleek added a commit that referenced this pull request Feb 14, 2020
@bhcleek bhcleek added this to the vim-go 1.23 milestone Feb 20, 2020
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.

errcheck's -ignoretests flag is being ignored?
1 participant