Commit b5cf7cba authored by Fabio Pelosin's avatar Fabio Pelosin

[Command] Fix setup infinite loop

parent 9fb296b5
......@@ -21,7 +21,7 @@ module Pod
def self.parse(argv)
command = super
unless SourcesManager.master_repo_functional? || command.is_a?(Setup) || ENV['SKIP_SETUP']
unless SourcesManager.master_repo_functional? || command.is_a?(Setup) || command.is_a?(Repo::Add) || ENV['SKIP_SETUP']
Setup.new(CLAide::ARGV.new([])).run
end
command
......
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