We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f3316a commit 3d4253bCopy full SHA for 3d4253b
1 file changed
commands/source.go
@@ -9,7 +9,7 @@ import (
9
)
10
11
func Source(c *cli.Context) {
12
- if c.Args().Get(0) != "list" || (c.String("name") == "") || (c.String("url") == "") {
+ if c.Args().Get(0) == "list" || (c.String("name") == "") || (c.String("url") == "") {
13
config, err := module.GetSource()
14
if err != nil {
15
log.Fatal(err)
0 commit comments