Skip to content

Commit

Permalink
Update src/python/pants/core/goals/fmt_test.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stu Hood <[email protected]>
  • Loading branch information
thejcannon and stuhood authored Mar 22, 2022
1 parent 5efdde1 commit b4ef1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/core/goals/fmt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FortranFmtRequest(FmtRequest):
@rule
async def fortran_fmt(request: FortranFmtRequest) -> FmtResult:
output = (
await Get(Snapshot, Digest, await Get(Digest, CreateDigest([FORTRAN_FILE])))
await Get(Snapshot, CreateDigest([FORTRAN_FILE]))
if any(fs.address.target_name == "needs_formatting" for fs in request.field_sets)
else EMPTY_SNAPSHOT
)
Expand Down

0 comments on commit b4ef1a1

Please sign in to comment.