Skip to content

Commit 6e86ff9

Browse files
author
Mitsuru Hashimoto
committed
remove "#{path}/lib/tasks/*.thor"
1 parent 9cd8293 commit 6e86ff9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/thor/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def thor_root_glob
211211
#
212212
def globs_for(path)
213213
path = escape_globs(path)
214-
["#{path}/Thorfile", "#{path}/*.thor", "#{path}/tasks/*.thor", "#{path}/lib/tasks/*.thor", "#{path}/lib/tasks/**/*.thor"]
214+
["#{path}/Thorfile", "#{path}/*.thor", "#{path}/tasks/*.thor", "#{path}/lib/tasks/**/*.thor"]
215215
end
216216

217217
# Return the path to the ruby interpreter taking into account multiple

spec/util_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ def self.clear_user_home!
180180
'/home/apps\\{1\\}/Thorfile',
181181
'/home/apps\\{1\\}/*.thor',
182182
'/home/apps\\{1\\}/tasks/*.thor',
183-
'/home/apps\\{1\\}/lib/tasks/*.thor',
184183
'/home/apps\\{1\\}/lib/tasks/**/*.thor'
185184
])
186185
end

0 commit comments

Comments
 (0)