aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-10-20 14:10:50 +0100
committerGitHub2017-10-20 14:10:50 +0100
commit76cd7c79498daf380d99ed7379394618164b602b (patch)
tree3c4be45df3b0a4d011422064c084f3e80fba80f7 /Library/Homebrew/patch.rb
parenta2374cba6cf9a56897f5feeab7f4add661d3c287 (diff)
parent487bec957007612956ff97b3912f88768becaa32 (diff)
downloadbrew-76cd7c79498daf380d99ed7379394618164b602b.tar.bz2
Merge pull request #3319 from reitermarkus/squiggly-heredocs
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index 8a1b00930..a44add10e 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -139,7 +139,7 @@ class ExternalPatch
if patch_files.empty?
children = patch_dir.children
if children.length != 1 || !children.first.file?
- raise MissingApplyError, <<-EOS.undent
+ raise MissingApplyError, <<~EOS
There should be exactly one patch file in the staging directory unless
the "apply" method was used one or more times in the patch-do block.
EOS