lib/fontist/utils/exe_extractor.rb in fontist-1.7.3 vs lib/fontist/utils/exe_extractor.rb in fontist-1.8.1
- old
+ new
@@ -4,10 +4,10 @@
def cab_extract(exe_file, download: true, font_ext: /.ttf|.otf|.ttc/i)
download = @downloaded === true ? false : download
exe_file = download_file(exe_file).path if download
- Fontist.ui.say(%(Installing font "#{key}".))
+ Fontist.ui.say(%(Installing font "#{formula.key}".))
cab_file = decompressor.search(exe_file)
cabbed_fonts = grep_fonts(cab_file.files) || []
fonts_paths = extract_cabbed_fonts_to_assets(cabbed_fonts)
block_given? ? yield(fonts_paths) : fonts_paths