summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-08-28 07:47:41 +0000
committerGo MAEDA <maeda@farend.jp>2022-08-28 07:47:41 +0000
commit7bff2ed0e3e3aa89fc9f1eaee59594b131d6a87d (patch)
tree8b78e0a146a8cfd4a93367359e1c209d91d0ae42 /lib
parentc7c24cb6e2a722e20a6cd1044d2b23beb336904f (diff)
downloadredmine-7bff2ed0e3e3aa89fc9f1eaee59594b131d6a87d.tar.gz
redmine-7bff2ed0e3e3aa89fc9f1eaee59594b131d6a87d.zip
Typo in an argument name: s/trailling/trailing/ (#37586).
git-svn-id: https://svn.redmine.org/redmine/trunk@21786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/filesystem_adapter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb
index 964dc17e6..ea933730a 100644
--- a/lib/redmine/scm/adapters/filesystem_adapter.rb
+++ b/lib/redmine/scm/adapters/filesystem_adapter.rb
@@ -43,10 +43,10 @@ module Redmine
@path_encoding
end
- def format_path_ends(path, leading=true, trailling=true)
+ def format_path_ends(path, leading=true, trailing=true)
path = leading ? with_leading_slash(path) :
without_leading_slash(path)
- trailling ? with_trailing_slash(path) :
+ trailing ? with_trailing_slash(path) :
without_trailing_slash(path)
end