chore: sort set properties
This commit is contained in:
1 parent
f3d53fbba4
commit
6eb0bd8c87
1 file changed
+2
@@ -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, ", ")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user