watson-ruby
watson-ruby copied to clipboard
Make this a non-debug print to user? [lib/watson/command.rb]
filename : lib/watson/command.rb line # : 260 tag : review md5 : 2d8b0c860d5920215c042aa05acc948a
# [review] - Make this a non-debug print to user?
debug_print "No args passed, exiting\n"
return false
end
# Set config flag for CL entryset in config
@config.cl_entry_set = true
debug_print "Updated cl_entry_set flag: #{ @config.cl_entry_set }\n"
# [review] - Should we clean the dir before adding here?
# For each argument passed, make sure valid, then add to @config.dir_list
args.each do | _dir |
# Error check on input
if !Watson::FS.check_dir(_dir)
print "Unable to open #{ _dir }\n"
else
# Clean up directory path