We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efdb79f commit 630dce1Copy full SHA for 630dce1
cmd/operator-sdk/olmcatalog/gen-csv.go
@@ -71,6 +71,10 @@ Configure CSV generation by writing a config file 'deploy/olm-catalog/csv-config
71
}
72
73
func genCSVFunc(cmd *cobra.Command, args []string) error {
74
+ // The CSV generator assumes that the deploy and pkg directories are present
75
+ // at runtime, so this command must be run in a project's root.
76
+ projutil.MustInProjectRoot()
77
+
78
if len(args) != 0 {
79
return fmt.Errorf("command %s doesn't accept any arguments", cmd.CommandPath())
80
0 commit comments