mirror of https://github.com/pulumi/pulumi.git
65194ecdf7
Removes unnecessary appends in pkg. There were two instances: - append into a slice that's never used again - append with nothing to append (`append([]{foo}) == []{foo}`) Issue found by staticcheck: ``` testing/integration/program.go:2190:15: SA4021: x = append(y) is equivalent to x = y (staticcheck) testing/integration/program.go:2192:15: SA4021: x = append(y) is equivalent to x = y (staticcheck) codegen/pcl/utilities.go:158:11: SA4010: this result of append is never used, except maybe in other appends (staticcheck) ``` Refs #11808 |
||
---|---|---|
.. | ||
integration |