We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8232473 commit 09b1672Copy full SHA for 09b1672
rakelib/dependency_cache_task.rb
@@ -110,8 +110,11 @@ def cache_task(uri)
110
111
def component_ids
112
conf = configuration('components').values.flatten.map { |component| component.split('::').last.snake_case }
113
- offline_cache = ENV['ADD_TO_CACHE'].split(':')
114
- (conf << offline_cache).flatten!.uniq!
+ offline_cache = ENV['ADD_TO_CACHE']
+ if !offline_cache.nil?
115
+ offline_cache = offline_cache.split(':')
116
+ (conf << offline_cache).flatten!.uniq!
117
+ end
118
conf
119
end
120
0 commit comments