example-only test files show "Could not populate the outline view: Error: error running "ginkgo outline --format=json -" (error code 1)"
When clicking in the test explorer > test files on a _test.go file containing only every few seconds an annoying error box pops up and the ginkgo test explorer output pane comes to the foreground:
Checking the Ginkgo executable was installed.
Could not populate the outline view: Error: error running "ginkgo outline --format=json -" (error code 1): [38;5;9m[1mginkgo outline[0m [38;5;9mfailed[0m
Failed to create outline:
file does not import "github.com/onsi/ginkgo/v2"
Ginkgo executable already installed. ;)
This same problem started for me last week, and I'm unable to run any tests using the extension. It seems to be no longer passing the file name to the command.
ginkgo outline --format=json -
^
Although my error doesn't reference the does not import bit:
Checking the Ginkgo executable was installed.
Could not populate the outline view: Error: error running "/Users/jared.jensen/go/bin/ginkgo outline --format=json -" (error code 1): [38;5;9m[1mginkgo outline[0m [38;5;9mfailed[0m
Malformed arguments - make sure all flags appear [1mafter[0m the Ginkgo subcommand and [1mbefore[0m your list of packages.
[38;5;243me.g. 'ginkgo run -p my_package' is valid `ginkgo -p run my_package` is not.[0m
Ginkgo executable already installed. ;)
This error is incredibly annoying, and almost makes it unusable. Would love to help fixing!
It this a duplicate of https://github.com/joselitofilho/ginkgoTestExplorer/issues/40 for which there's PR https://github.com/joselitofilho/ginkgoTestExplorer/pull/71 ?