Skip to content

Commit

Permalink
#59 Still log that that user responded to the question
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Feb 17, 2015
1 parent 83c58d8 commit a3642a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/cosmos/gui/utilities/script_module_gui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ def ask_string(question, allow_blank = false, password = false)
break if allow_blank or (not answer.nil? and answer.strip.length != 0)
end

Logger.info "User entered '#{answer}' for '#{question}'" unless password
if password
Logger.info "User responded to '#{question}'"
else
Logger.info "User entered '#{answer}' for '#{question}'"
end
return answer.to_s
end

Expand Down

0 comments on commit a3642a8

Please sign in to comment.