HBASE-19770 ADDENDUM Replace `if not` with `unless`

Signed-off-by: Mike Drob <mdrob@apache.org>
This commit is contained in:
Josh Elser 2018-01-18 11:34:29 -05:00 committed by Josh Elser
parent 548426edc0
commit 8b2b59fdee
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ module Shell
self.interactive = interactive self.interactive = interactive
self.return_values = return_values self.return_values = return_values
# If we're in non-interactive mode, force return_values # If we're in non-interactive mode, force return_values
self.return_values = true if not self.interactive self.return_values = true unless self.interactive
end end
# Returns Admin class from admin.rb # Returns Admin class from admin.rb