Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitc6b991f

Browse files
committed
fuck typos
1 parentd17b878 commitc6b991f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎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
ifARGV.length ==0
@@ -50,9 +50,7 @@ begin
5050
doc.css('img').eachdo |img|
5151
img['src']="/enterprise/#{version}#{img['src']}"ifimg['src'] =~/^\//
5252
end
53-
doc.css('.not-enterprise').eachdo |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)

[8]ページ先頭

©2009-2025 Movatter.jp