Skip to content

remove spurious dependencies #2

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

Merged
merged 3 commits into from
Sep 18, 2020
Merged

remove spurious dependencies #2

merged 3 commits into from
Sep 18, 2020

Conversation

eli-darkly
Copy link
Contributor

The go-coverage-enforcer tool wasn't supposed to be installed as a dependency, just downloaded as part of a test step. It brought in some transitive stuff we don't want.

@@ -1,16 +1,11 @@
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn't even the right assert library. What happens sometimes is that I write some test code using assert. and the IDE helpfully goes "oh, you haven't imported that package yet, let me find one that's called 'assert'" and adds an import for the wrong one, and then it gets into go.sum and stays there indefinitely.

@eli-darkly eli-darkly merged commit a7eaae1 into master Sep 18, 2020
@eli-darkly eli-darkly deleted the eb/ch90096/dependencies branch September 18, 2020 21:26
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.

2 participants