lib/shaddox/shadow_script.rb in shaddox-0.0.2 vs lib/shaddox/shadow_script.rb in shaddox-0.0.3
- old
+ new
@@ -45,14 +45,13 @@
## add_repos
# Retrieves all repos from the @config and ensures their data is copied
# to the script for use by tasks.
def add_repos
@script += %Q(
- repos = {)
+ @repos = {)
@config.repos.each do |key, repo|
@script += ":#{key} => #{repo.to_source}"
end
- @script += %Q(
- })
+ @script += %Q(})
end
end
end