Skip to content

Commit 825e648

Browse files
authored
Sort lib files to ensure consistent inclusion
1 parent 2cbbed8 commit 825e648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bashly/models/command.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def usage_string
209209
# This is meant to provide the user with the ability to add custom
210210
# functions
211211
def user_lib
212-
@user_lib ||= Dir["#{Settings.source_dir}/lib/**/*.sh"]
212+
@user_lib ||= Dir["#{Settings.source_dir}/lib/**/*.sh"].sort
213213
end
214214

215215
# Raise an exception if there are some serious issues with the command
@@ -238,4 +238,4 @@ def verify_commands
238238

239239
end
240240
end
241-
end
241+
end

0 commit comments

Comments
 (0)