Skip to content

Commit

Permalink
Merge pull request #157 from kyursen/cache-lexers-windows
Browse files Browse the repository at this point in the history
Updating lexers on Windows
  • Loading branch information
gfx committed Dec 10, 2016
2 parents 4ed8701 + 5aa5990 commit a5c40bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache-lexers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
serialized_lexers = Marshal.dump(Pygments.lexers!)

# Write to a file
File.open("lexers", 'w') { |file| file.write(serialized_lexers) }
File.open("lexers", 'wb') { |file| file.write(serialized_lexers) }

0 comments on commit a5c40bc

Please sign in to comment.