summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenji Okimoto <okimoto@clear-code.com>2018-03-01 17:54:56 +0900
committerKenji Okimoto <okimoto@clear-code.com>2018-04-23 09:20:24 +0900
commit1e92ea9fbf8a2e42fa81b1fe49027b8cf32d5ca0 (patch)
tree46079ab3cabb8f1e828bfe8ca62ad5ff906acb97
parent6b112d2511c136284b306e57fc51ccf4c0ea336e (diff)
downloadbundler-1e92ea9fbf8a2e42fa81b1fe49027b8cf32d5ca0.tar.gz
Use double quote instead of single quote
lib/bundler.rb:372:120: C: Style/StringLiteralsInInterpolation: Prefer double-quoted strings inside interpolations. Bundler.ui.warn "Following files may not be writable, so sudo is needed: #{unwritable_files.map(&:to_s).join(',')}" ^^^
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index ae26dea26c..9a9129e07b 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -369,7 +369,7 @@ EOF
sudo_needed = files.any? {|f| !File.writable?(f) }
if sudo_needed
unwritable_files = files.reject {|f| File.writable?(f) }
- Bundler.ui.warn "Following files may not be writable, so sudo is needed: #{unwritable_files.map(&:to_s).join(',')}"
+ Bundler.ui.warn "Following files may not be writable, so sudo is needed: #{unwritable_files.map(&:to_s).join(",")}"
end
end