Skip to content

Commit c4f445e

Browse files
committed
a potential fix
1 parent 6c27e0a commit c4f445e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def find_class_and_command_by_namespace(namespace, fallback = true)
150150
# inside the sandbox to avoid namespacing conflicts.
151151
#
152152
def load_thorfile(path, content = nil, debug = false)
153-
content ||= File.binread(path)
153+
content ||= File.read(path)
154154

155155
begin
156156
Thor::Sandbox.class_eval(content, path)

0 commit comments

Comments
 (0)