lib/middleman-cli.rb in middleman-cli-4.3.0.rc.4 vs lib/middleman-cli.rb in middleman-cli-4.3.0
- old
+ new
@@ -1,6 +1,8 @@
+# rubocop:disable FileName
+
# Setup our load paths
-libdir = __dir__
+libdir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
# Require Thor since that's what the whole CLI is built around
require 'thor'