scripts: format-code.sh: use double braces

Use double braces in format-code.sh

[[ ... ]] reduces errors as no pathname expansion or word splitting
takes place between [[ and ]]. In addition, [[ ... ]] allows for
regular expression matching while [ ... ] does not.

Change-Id: Ie74e625edd8b3f6f9b4c4ec2a9dce14983c73643
Signed-off-by: Patrick Venture <venture@google.com>
1 file changed