Skip to content

Commit

Permalink
don't generate default tool lockfiles
Browse files Browse the repository at this point in the history
[ci skip-rust]
  • Loading branch information
Tom Dyas committed May 16, 2022
1 parent b083fbc commit 630e36f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python/pants/jvm/resolve/jvm_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ async def setup_lockfile_request_from_tool(
return GenerateJvmLockfile(
artifacts=artifacts,
resolve_name=request.resolve_name,
lockfile_dest=request.write_lockfile_dest,
lockfile_dest=request.write_lockfile_dest
if request.read_lockfile_dest != DEFAULT_TOOL_LOCKFILE
else DEFAULT_TOOL_LOCKFILE,
)


Expand Down

0 comments on commit 630e36f

Please sign in to comment.