Skip to content

Commit c6b991f

Browse files
committed
fuck typos
1 parent d17b878 commit c6b991f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

script/enterprise-cutter

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'nokogiri'
66

77
ERROR_MESSAGE = """
88
Error: Run the script like this: bundle exec script/enterprise-cutter [DATE] [VERSION]
9-
e.g. bundle exec script/enterprise-cutter 2014-07-8 11.10.340
9+
e.g. bundle exec script/enterprise-cutter 2014-07-08 11.10.340
1010
"""
1111

1212
if ARGV.length == 0
@@ -50,9 +50,7 @@ begin
5050
doc.css('img').each do |img|
5151
img['src'] = "/enterprise/#{version}#{img['src']}" if img['src'] =~ /^\//
5252
end
53-
doc.css('.not-enterprise').each do |non_ent|
54-
non_ent.remove
55-
end
53+
doc.css('.not-enterprise').remove
5654
File.open(html_file, 'w') { |file| file.write(doc.to_html) }
5755
end
5856

0 commit comments

Comments
 (0)