chore: sort set properties

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-23 12:45:05 -05:00
1 parent f3d53fbba4
commit 6eb0bd8c87
1 file changed
+2
+2
View File
@@ -8,6 +8,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"reflect" "reflect"
"sort"
"strings" "strings"
) )
@@ -32,6 +33,7 @@ func CommandPropertySet(pluginName, appName, property, value string, properties
validPropertyList[i] = properties[i].String() validPropertyList[i] = properties[i].String()
} }
sort.Strings(validPropertyList)
LogFail(fmt.Sprintf("Invalid property specified, valid properties include: %s", strings.Join(validPropertyList, ", "))) LogFail(fmt.Sprintf("Invalid property specified, valid properties include: %s", strings.Join(validPropertyList, ", ")))
} }