Commit ea6c65d
committed
Often, this happens because a user accidentally used
`scalacOptions := ...` instead of using `++=`. The symptoms are
however obscure, and it can be difficult to diagnose.
We now explicitly detect this, and emit a warning if something is
amiss.
This feature is not automatically tested because `scripted` does
not have any feature to test that a specific log message is
written.
1 parent 81ef662 commit ea6c65d
File tree
1 file changed
+20
-0
lines changed- sbt-plugin/src/main/scala/org/scalajs/sbtplugin
1 file changed
+20
-0
lines changedLines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
369 | 389 | | |
370 | 390 | | |
371 | 391 | | |
| |||
0 commit comments