More idiomatic to write `var platforms []string` here and let it be nil.