simplesurance / baur

An incremental task runner for mono repositories.
GNU General Public License v2.0
360 stars 11 forks source link

go input resolver: relative file query path results depend on working directory #533

Closed fho closed 7 months ago

fho commented 7 months ago

When specifying a relative path for the go input file resolver, the results depend on the current working directory in that baur is executed.

This is caused by: https://github.com/golang/go/issues/65965

Workaround: make all relative file query paths absolute to the application directory before passing them to "go list".

Found by @barash-simplesurance