We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6714814 commit a46e587Copy full SHA for a46e587
cmd/export.go
@@ -41,6 +41,9 @@ var exportCmd = &cobra.Command{
41
if err := ms.Read(viper.GetString("module")); err != nil {
42
log.Fatal(err)
43
}
44
+ if len(ms.Modules) == 0 {
45
+ log.Fatal("no modules found, exporting from submodules is not yet supported")
46
+ }
47
var mn string // module name
48
// at this moment ms contains only one module
49
// which was read by the path provided within -m flag
0 commit comments