We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4586e94 commit 48bef7bCopy full SHA for 48bef7b
Rakefile
@@ -128,7 +128,7 @@ task beef_start: 'beef' do
128
test_pass = ENV['TEST_BEEF_PASS'] || 'bad_fred_no_access'
129
130
# write a rake config file for beef
131
- config = YAML.safe_load(File.read('./config.yaml'))
+ config = YAML.safe_load_file('./config.yaml')
132
config['beef']['credentials']['user'] = test_user
133
config['beef']['credentials']['passwd'] = test_pass
134
Dir.mkdir('tmp') unless Dir.exist?('tmp')
0 commit comments