Skip to content

Commit cdfddb6

Browse files
committed
maybe escape quotes when you put them in a quoted string.
also, maybe run the tests before you commit and push...
1 parent 1f59d07 commit cdfddb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ func (g ginkgoErrors) ExpectFilenameNotPath(flag string, path string) error {
639639
func (g ginkgoErrors) FlagAfterPositionalParameter() error {
640640
return GinkgoError{
641641
Heading: "Malformed arguments - detected a flag after the package liste",
642-
Message: "Make sure all flags appear {{bold}}after{{/}} the Ginkgo subcommand and {{bold}}before{{/}} your list of packages (or './...').\n{{gray}}e.g. 'ginkgo run -p my_package' is valid but `ginkgo -p run my_package` is not.\n{{gray}}e.g. 'ginkgo -p -vet="" ./...' is valid but 'ginkgo -p ./... -vet=""' is not{{/}}",
642+
Message: "Make sure all flags appear {{bold}}after{{/}} the Ginkgo subcommand and {{bold}}before{{/}} your list of packages (or './...').\n{{gray}}e.g. 'ginkgo run -p my_package' is valid but `ginkgo -p run my_package` is not.\n{{gray}}e.g. 'ginkgo -p -vet=\"\" ./...' is valid but 'ginkgo -p ./... -vet=\"\"' is not{{/}}",
643643
}
644644
}
645645

0 commit comments

Comments
 (0)