Cleanup Code (#348)

* Fix "Empty slice declaration using a literal"
* Fix "collides with imported package name"
* Remove unused code in pipeline
* Remove unused oauth2.providerAuthHeaderWorks()
* Add TODOs
* Format Code
* Cleanup doublestar import
* Migrate deprecated functions

Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
6543
2021-09-24 16:29:26 +02:00
committed by GitHub
parent e8db6b8c04
commit 0bd10fa507
38 changed files with 144 additions and 187 deletions

View File

@@ -267,7 +267,7 @@ func (q *fifo) filterWaiting() {
// rebuild waitingDeps
q.waitingOnDeps = list.New()
filtered := []*list.Element{}
var filtered []*list.Element
var nextPending *list.Element
for e := q.pending.Front(); e != nil; e = nextPending {
nextPending = e.Next()