adding curly brackets to get rid of lint errors
Merge pull request #1156 from emkay/curly-lint-rule

adding curly brackets to get rid of lint errors