lib/roku_builder/plugins/loader.rb in roku_builder-4.2.0 vs lib/roku_builder/plugins/loader.rb in roku_builder-4.2.1

- old
+ new

@@ -100,10 +100,10 @@ content[:folders] = Dir.entries(@config.root_dir).select {|entry| File.directory? File.join(@config.root_dir, entry) and !(entry =='.' || entry == '..') } content[:files] = Dir.entries(@config.root_dir).select {|entry| File.file? File.join(@config.root_dir, entry)} else content[:folders] = @config.project[:folders] content[:files] = @config.project[:files] - content[:exclude] if @options[:exclude] or @options.exclude_command? + content[:excludes] = @config.project[:excludes] if @options[:exclude] or @options.exclude_command? end content end def build_zip(content)