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 eaca91c commit ca6c550Copy full SHA for ca6c550
plugins/wmap.rb
@@ -127,11 +127,14 @@ def cmd_wmap_sites(*args)
127
while (arg = args.shift)
128
case arg
129
when '-a'
130
- s = add_web_site(args.shift)
131
- if s
132
- print_status("Site created.")
133
- else
134
- print_error("Unable to create site")
+ site = args.shift
+ if site
+ s = add_web_site(site)
+ if s
+ print_status("Site created.")
135
+ else
136
+ print_error("Unable to create site")
137
+ end
138
end
139
when '-d'
140
del_idx = args
0 commit comments