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.
2 parents 32ff16f + ac8d9f6 commit 5235213Copy full SHA for 5235213
src/fosslight_dependency/package_manager/Go.py
@@ -36,8 +36,8 @@ def __del__(self):
36
def run_plugin(self):
37
ret = True
38
39
- logger.info("Execute 'go list -m -json all' to obtain package info.")
40
- cmd = f"go list -m -json all > {self.tmp_file_name}"
+ logger.info("Execute 'go list -m -mod=mod -json all' to obtain package info.")
+ cmd = f"go list -m -mod=mod -json all > {self.tmp_file_name}"
41
42
ret_cmd = subprocess.call(cmd, shell=True)
43
if ret_cmd != 0:
0 commit comments