mirror of https://github.com/sbt/sbt.git
Fixes #1458 Running sbt from `/` results to sbt getting stuck trying to load the directories recursively, and eventually erroring with a java.lang.OutOfMemoryError (after freezing for a long time) even on an Alpine container. To prevent it, this adds a check to see if the absolute path is `/` or not. ``` / $ sbt -Dsbt.version=1.4.0-SNAPSHOT [error] java.lang.IllegalStateException: cannot run sbt from root directory without -Dsbt.rootdir=true; see sbt/sbt#1458 [error] Use 'last' for the full log. ``` |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||