Skip to content

other: if-statement style change #3302

@casperklein

Description

@casperklein

Subject

Other

Description

@georglauterbach @polarathene

I think we talked before and there was con-sense. But before providing a PR I wanted to get sure 😉

I'd like to change the style of our if-statements from

if [[ ${#} -lt 3 ]]
then
  _log 'error' 'At least three parameters must be given'
  __usage
  exit 1
fi

to

if [[ ${#} -lt 3 ]]; then
  _log 'error' 'At least three parameters must be given'
  __usage
  exit 1
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta/help wantedThe OP requests help from others - chime in! :D

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions