Skip to content

thorough check: reduced if/then to [ &&#51

Open
jsav0 wants to merge 2 commits intorebootuser:masterfrom
jsav0:patch1
Open

thorough check: reduced if/then to [ &&#51
jsav0 wants to merge 2 commits intorebootuser:masterfrom
jsav0:patch1

Conversation

@jsav0
Copy link

@jsav0 jsav0 commented Apr 27, 2020

Reduced all occurrences of:

if [ "$thorough" = "1" ]; then
  do_this
fi

to:

[ "$thorough" ] && {
  do_this
}

@jsav0 jsav0 changed the title reduced if/then to [ && thorough check: reduced if/then to [ && Apr 27, 2020
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.

1 participant

Comments