We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c27e0a commit c4f445eCopy full SHA for c4f445e
lib/thor/util.rb
@@ -150,7 +150,7 @@ def find_class_and_command_by_namespace(namespace, fallback = true)
150
# inside the sandbox to avoid namespacing conflicts.
151
#
152
def load_thorfile(path, content = nil, debug = false)
153
- content ||= File.binread(path)
+ content ||= File.read(path)
154
155
begin
156
Thor::Sandbox.class_eval(content, path)
0 commit comments