chore: sort set properties

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-22 00:08:40 -05:00
parent f3d53fbba4
commit 6eb0bd8c87

View File

@@ -8,6 +8,7 @@ import (
"os"
"path/filepath"
"reflect"
"sort"
"strings"
)
@@ -32,6 +33,7 @@ func CommandPropertySet(pluginName, appName, property, value string, properties
validPropertyList[i] = properties[i].String()
}
sort.Strings(validPropertyList)
LogFail(fmt.Sprintf("Invalid property specified, valid properties include: %s", strings.Join(validPropertyList, ", ")))
}