modules: Make the module.workspace=off as default (note)

Also, resolve any workspace file relative to the workingDir.

Fixes #10553
This commit is contained in:
Bjørn Erik Pedersen 2022-12-19 15:40:47 +01:00
parent 3afaca7584
commit 0d4b17d4c0
4 changed files with 25 additions and 4 deletions

View file

@ -63,6 +63,7 @@ func TestPermalink(t *testing.T) {
}
for i, test := range tests {
i := i
test := test
t.Run(fmt.Sprintf("%s-%d", test.file, i), func(t *testing.T) {
t.Parallel()