diff pkg/imports/dst.go @ 5020:e4ab338e7ba9

Removed unnecessary creatings of empty slices in expressing read dependencies in imports.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 14 Mar 2020 20:11:10 +0100
parents 024b16a1c253
children 59a99655f34d
line wrap: on
line diff
--- a/pkg/imports/dst.go	Fri Mar 13 19:14:45 2020 +0100
+++ b/pkg/imports/dst.go	Sat Mar 14 20:11:10 2020 +0100
@@ -39,10 +39,7 @@
 func (dstJobCreator) Create() Job { return new(DeleteStretch) }
 
 func (dstJobCreator) Depends() [2][]string {
-	return [2][]string{
-		{"stretches"},
-		{},
-	}
+	return [2][]string{{"stretches"}}
 }
 
 const (