[Command] Disable template validation for now.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-418.
This commit is contained in:
Eloy Durán
2014-02-04 17:03:39 +01:00
parent 086d232ba0
commit 7f79ecd295
2 changed files with 6 additions and 3 deletions

View File

@@ -63,9 +63,11 @@ module Motion; class Command
def validate!
super
help! "A name for the new project is required." unless @app_name
unless self.class.all_templates.include?(@template)
help! "Invalid template specified `#{@template}'."
end
# TODO This needs to take into account external templates (e.g. from git
# or a local path.)
#unless self.class.all_templates.include?(@template)
#help! "Invalid template specified `#{@template}'."
#end
end
def run