Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

document weird behavior #379

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/sbt-test/sbt-scalafix/explicit-files/test
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@
> scalafix -f=src/main/scala/OK.scala


# QUESTIONNABLE USAGES
# --------------------

# Targeting valid files from an aggregated project succeeds:
# only the project for which the `--files` value is valid runs the invocation
> scalafix -f=ok_and_ko/src/main/scala/OK.scala

# Targeting valid files both from an aggregating project and from one of its aggregated project fails:
# no project can validate both `--files` value, so the aggregating project shows the failure
-> scalafix -f=ok_and_ko/src/main/scala/OK.scala -f=src/main/scala/OK.scala


# INCORRECT USAGES
# ----------------

Expand Down