Commit 541970d6 authored by clarkda's avatar clarkda

Dont allow pod names that begin with a `.`

parent 2b500a99
...@@ -26,6 +26,7 @@ module Pod ...@@ -26,6 +26,7 @@ module Pod
super super
help! "A name for the Pod is required." unless @name help! "A name for the Pod is required." unless @name
help! "The Pod name cannot contain spaces." if @name.match(/\s/) help! "The Pod name cannot contain spaces." if @name.match(/\s/)
help! "The Pod name cannot begin with a '.'" if @name[0 ,1] == '.'
end end
def run def run
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment