Skip to content

Commit 29bf5a2

Browse files
author
Christian Weichel
committed
[fmt] Sort dependencies ascending
1 parent e0bdc1d commit 29bf5a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/leeway/format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func sortPackageDeps(n *yaml.Node) {
4545
}
4646

4747
nde := nde.Content[pkgIdx+1]
48-
sort.Slice(nde.Content, func(i, j int) bool { return nde.Content[j].Value < nde.Content[i].Value })
48+
sort.Slice(nde.Content, func(i, j int) bool { return nde.Content[i].Value < nde.Content[j].Value })
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)