mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-08 07:25:25 +08:00
[Command] Disable template validation for now.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-418.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user