We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc59037 commit 36e104cCopy full SHA for 36e104c
experiment/dependencies/gomod_staleness.py
@@ -172,6 +172,14 @@ def main():
172
print(">>>> Running command %r" % update_command)
173
os.system(update_command)
174
175
+ print(">>>> Ensuring Packages that will be skipped are at their previous versions" % args.skip)
176
+ for pkg in args.skip:
177
+ if pkg in before.keys():
178
+ update_command = """\
179
+ go get %s@%s""" % (pkg, before[pkg])
180
+ print(">>>> Running command %r" % update_command)
181
+ os.system(update_command)
182
+
183
print(">>>> parsing go.mod after updates")
184
after = get_dependencies()
185
print("Found %d packages after updating dependencies" % len(before.values()))
0 commit comments