Commit 0d927123 authored by Bart Jacobs's avatar Bart Jacobs

Apply style guide

parent d4eac5e9
...@@ -29,7 +29,7 @@ module Pod ...@@ -29,7 +29,7 @@ module Pod
'Multiple sources must be comma-delimited.'], 'Multiple sources must be comma-delimited.'],
['--local-only', 'Does not perform the step of pushing REPO to its remote'], ['--local-only', 'Does not perform the step of pushing REPO to its remote'],
['--no-private', 'Lint includes checks that apply only to public repos'], ['--no-private', 'Lint includes checks that apply only to public repos'],
['--message', 'Add custom commit message'] ['--message', 'Add custom commit message'],
].concat(super) ].concat(super)
end end
...@@ -76,11 +76,11 @@ module Pod ...@@ -76,11 +76,11 @@ module Pod
File.chmod(0777, file.path) File.chmod(0777, file.path)
file.close file.close
unless ENV['EDITOR'].nil? if !ENV['EDITOR'].nil?
@message = nil
else
system("#{ENV['EDITOR']} #{file.path}") system("#{ENV['EDITOR']} #{file.path}")
@message = File.read file.path @message = File.read file.path
else
@message = nil
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment