typo
This commit is contained in:
1 parent
e7c523dab7
commit
b7f0e3f573
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ desc "Generate an authors list"
|
|||||||
task :authors do
|
task :authors do
|
||||||
authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n")
|
authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n")
|
||||||
readme = File.read("README.md")
|
readme = File.read("README.md")
|
||||||
readme.gsub!(/#### Patches contributed by\n([^\n]*)\n/m, "#### Patches contributes by\n#{authors.join(", ")}\n")
|
readme.gsub!(/#### Patches contributed by\n([^\n]*)\n/m, "#### Patches contributed by\n#{authors.join(", ")}\n")
|
||||||
File.open("README.md", "w") { |f| f.print readme }
|
File.open("README.md", "w") { |f| f.print readme }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user