Skip to content
Discussion options

You must be logged in to vote

Is that correct, or am I missing something?

Thanks for this question. Unfortunately, the magical incantation is useful in some situation. It depends who the target user is here, specifically when there's a typo or a mistake in build.sbt file. By default, sbt test etc (not just scalafmtCheck but any task/command) would helpfully block the system prompt asking if the user wants to restart.

$ sbt test
[info] welcome to sbt 1.12.11 (Azul Systems, Inc. Java 17.0.18)
[info] loading project definition from /private/tmp/aaa/project
[error] [/private/tmp/aaa/build.sbt]:1: '=' expected but eof found.
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r) << waits here

P…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nchammas
Comment options

@eed3si9n
Comment options

Answer selected by nchammas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants