bin/coconductor in coconductor-0.9.4 vs bin/coconductor in coconductor-0.10.0
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
require_relative '../lib/coconductor'
require 'thor'
require 'octokit'
@@ -36,8 +37,8 @@
options[:remote] || path =~ %r{^https://}
end
end
commands_dir = File.expand_path '../lib/coconductor/commands/', __dir__
-Dir["#{commands_dir}/*.rb"].each { |c| require(c) }
+Dir["#{commands_dir}/*.rb"].sort.each { |c| require(c) }
CoconductorCLI.start(ARGV)