Skip to content

Commit

Permalink
Merge a8ddffc into 4ec1104
Browse files Browse the repository at this point in the history
  • Loading branch information
ak15 committed Nov 14, 2019
2 parents 4ec1104 + a8ddffc commit 983a585
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/roo/excelx/shared.rb
Expand Up @@ -16,7 +16,9 @@ def initialize(dir, options = {})
end

def styles
@styles ||= Styles.new(File.join(@dir, 'roo_styles.xml'))
file_path = File.join(@dir, 'roo_styles.xml')
File.new(file_path, "a+") {} unless File.exists?(file_path)
@styles ||= Styles.new(file_path)
end

def shared_strings
Expand Down

0 comments on commit 983a585

Please sign in to comment.