cmd/go: work use silently ignores nonexistent target #51965
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the following commands:
(Format: $ {current_dir} > {command})
$ go >
mkdir workspace
$ go >
cd workspace
$ workspace >
go work init
$ workspace >
ls -la
total 8
-rw-r--r-- 1 user staff 8B Mar 26 17:51 go.work
$ workspace >
go work use ./lib
What did you expect to see?
Error, because the folder ./lib does not exist.
What did you see instead?
Empty output.
The text was updated successfully, but these errors were encountered: