lib/takelage/bit/scope/module.rb in takelage-0.4.5 vs lib/takelage/bit/scope/module.rb in takelage-0.5.0
- old
+ new
@@ -46,10 +46,10 @@
# prepare scope list command
root = config.active['bit_scope_root']
cmd_bit_scope_list = config.active['bit_scope_list'] % {root: root}
# run ssh command with scope list command
- scope_list, stderr, status = run_and_check "#{cmd_bit_ssh} '#{cmd_bit_scope_list}'"
+ scope_list = run "#{cmd_bit_ssh} '#{cmd_bit_scope_list}'"
# remove bit remote root directory from results
scope_list.gsub!(/#{root}\/*/, '')
# remove /scope.json from results