Lagom: Lagom Dependencies has scalatest twice

Created on 23 Jul 2018  路  4Comments  路  Source: lagom/lagom

Most helpful comment

Library so nice, gotta have it twice.

All 4 comments

Library so nice, gotta have it twice.

Took a closer look, and these aren't exactly redundant. Line 215 is adding it to the whitelist. Line 65 is only declaring a variable that can be used in other places, such as:

https://github.com/lagom/lagom/blob/c9c44b9f8827392dbf9df7c859a8c145fe4681a0/project/Dependencies.scala#L317

https://github.com/lagom/lagom/blob/c9c44b9f8827392dbf9df7c859a8c145fe4681a0/project/Dependencies.scala#L334

鈥nd many more. So we can't remove either one.

What we _could_ do is use the variable in the whitelist, rather than repeating the definition. It would be a nice cleanup.

@ignasi35 I would like to work on this issue.

Fixed in #1490. Thanks, @ayushprashar!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jroper picture jroper  路  3Comments

coco1979ka picture coco1979ka  路  8Comments

TimMoore picture TimMoore  路  7Comments

ignasi35 picture ignasi35  路  6Comments

cstub picture cstub  路  3Comments