| commit | 5d3031d6268680428790b16c997081ea084b5f95 | [log] [tgz] |
|---|---|---|
| author | Ed Tanous <edtanous@google.com> | Wed Feb 16 15:57:15 2022 -0800 |
| committer | Ed Tanous <ed@tanous.net> | Sat Feb 19 00:02:06 2022 +0000 |
| tree | 19d2a4ee09bf8ade2747e36c169495ffc82d7af1 | |
| parent | 86cafa64da0fec88610a905addbd6824a88c43ac [diff] |
Fix shellcheck issue in userid-validation
Shellcheck correctly notes that that xs in comparisons are uneeded
```
[1mIn jenkins/userid-validation line 25:[0m [0mif [
"x${COMMITTER_EMAIL}" == "x" ]; then[0m [32m ^-------------------^
SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a
purpose.[0m
[1mDid you mean: [0m if [ "${COMMITTER_EMAIL}" == "" ]; then
[1mIn jenkins/userid-validation line 38:[0m [0mif [
"x${COMMITTER_USERNAME}" == "x" ]; then[0m [32m
^----------------------^ SC2268 (style): Avoid x-prefix in comparisons
as it no longer serves a purpose.[0m
```
Do as the robot commands.
Tested: Not sure how to test this, although it's pretty trivial.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Idfa440f146e90f77e7b84eb0ff5f2d68f6b612c1
Build script for CI jobs in Jenkins.