Commit 3b4b009
authored
fetch-configlet: improve style slightly (#322)
This commit applies a preference for `==` over `=` when using `[[`.
From Google's Shell Style Guide [1]:
> For clarity, use `==` for equality rather than `=` even though both
> work. The former encourages the use of `[[` and the latter can be
> confused with an assignment.
We also remove the space before a function's parentheses to be more
consistent with the style of our other function, `get_download_url()`
[1] https://google.github.io/styleguide/shellguide.html#testing-strings1 parent 214172f commit 3b4b009
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments