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 860a578 commit 5677f51Copy full SHA for 5677f51
3 files changed
.gitignore
@@ -17,6 +17,7 @@ vendor/
17
tmp/
18
/bin
19
/script/build
20
+.history/
21
22
## Documentation
23
manual/
cmd/add/hooks/hooks.go
@@ -82,7 +82,10 @@ func input() bool {
82
return false
83
}
84
Event = event[eventOption]
85
-
+ if Event == "" {
86
+ fmt.Println("Invalid Choice of Event")
87
+ return false
88
+ }
89
fmt.Printf("Enter TargetUrl: ")
90
fmt.Scanf("%s\n", &TargetUrl)
91
if TargetUrl == "" {
cmd/add/site/site.go
@@ -105,6 +105,10 @@ func input() bool {
105
106
107
PlanName = plan[planOption]
108
+ if PlanName == "" {
109
+ fmt.Println("Invalid Choice of Plan")
110
111
112
return true
113
114
0 commit comments