~kdsch/android-bulletin

eb8a32eb65cc8638689e308d97646864247bc923 — Karl Schultheisz 3 years ago 03e505a
put variable decls on one line
1 files changed, 1 insertions(+), 2 deletions(-)

M main.go
M main.go => main.go +1 -2
@@ 101,8 101,7 @@ func getCVEs(bulletin bulletin) (entries []entry) {
		patchLevel := strings.Fields(h2.Text())[0]
		h2.NextFilteredUntil("h3", "h2").Each(func(_ int, h3 *goquery.Selection) {
			h3Text := shave(h3.Text())
			var component string
			var vuln string
			var component, vuln string
			if parts := strings.Split(h3Text, " in "); len(parts) == 2 {
				component = parts[1]
				switch parts[0] {