Skip to content

Commit aaeccb6

Browse files
committed
Merge pull request #380 from developingchris/fix_build_192
Fix build 192
2 parents 615d69c + 3f4b65d commit aaeccb6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/thor/shell/basic.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'tempfile'
2-
require 'io/console'
32

43
class Thor
54
module Shell

spec/runner_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def when_no_thorfiles_exist
131131

132132
# Stub load and save to avoid thor.yaml from being overwritten
133133
allow(YAML).to receive(:load_file).and_return(@original_yaml)
134-
allow(File).to receive(:exists?).with(root_file).and_return(true)
134+
allow(File).to receive(:exist?).with(root_file).and_return(true)
135135
allow(File).to receive(:open).with(root_file, "w")
136136
end
137137

0 commit comments

Comments
 (0)