{"push_id":2993903475,"size":1,"distinct_size":1,"ref":"refs/heads/fix_gosec_regex","head":"ddf956db5dcbd614fe3e42bf4edb222a707949ed","before":"be817f5c5edd615892bf73ec00ad6a8765179e1e","commits":[{"sha":"ddf956db5dcbd614fe3e42bf4edb222a707949ed","author":{"name":"Fabian Holler","email":"b9e975b69be5d21a07a1a0da64e856437f102472@simplesurance.de"},"message":"linters: fix: some gosec warnings not shown in gometalinter result\n\nThe gosec linter is printing a range expression like \"1200-1209\" for the\nline number for some check rules like\n\"G201: SQL query construction using format string\".\nThe gosec output in csv looks like:\n\n/home/fho/git/test/example.go,1200-1209,SQL string formatting,MEDIUM,HIGH,\"fmt.Sprintf(`\n\t\t\tSELECT\n\t\t\t\t%s,\n\t\t\tFROM test\n\t\t)\"\n\nThe gometalinter line pattern was only matching one or more digits as line\nnumber.\nThis caused that some warning lines did not match the pattern and did\nnot show up in the gometalinter results.\n\nChange the regex pattern to also match range expressions for lines.","distinct":true,"url":"https://api.github.com/repos/fho/gometalinter/commits/ddf956db5dcbd614fe3e42bf4edb222a707949ed"}]}
{"actor":{"display_login":"fho"}}