It would be more helpful to list all duplicate files detected, rather than just one of them.
For example:
spago init
mkdir src/sneaky
echo "module Main where" > src/sneaky/Dup.purs
spago build
Error found:
at src/Main.purs:1:1 - 6:28 (line 1, column 1 - line 6, column 28)
Module Main has been defined multiple times
See https://github.com/purescript/documentation/blob/master/errors/DuplicateModule.md for more information,
or to contribute content related to this error.
[error] Failed to build.
I'm actually more interested in knowing about src/sneaky/Dup.purs than src/Main.purs.
Related to #1828
It would be more helpful to list all duplicate files detected, rather than just one of them.
For example:
I'm actually more interested in knowing about
src/sneaky/Dup.pursthansrc/Main.purs.Related to #1828