Skip to content

Conversation

@aishwarya2392
Copy link

  1. Set default value for force change as 1.
  2. Changed the condition in getattr to check None instead of just checking if the param has value in it.

The reason why i changed to None is when an integer value is checked and if the integer has a value 0 for the param, the if evaluates false
and the the param is not even considered while executing the CLI

…rectly

1. Set default value for force change as 1.
2. Changed the condition in getattr to check None instead of just checking if the param has value in it.

The reason why i changed to None is when an integer value is checked and if the integer has a value 0 for the param, the if evaluates false
and the the param is not even considered while executing the CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants