fix: only check for global properties when appName is --global

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-04 12:43:15 -05:00
parent d6acf5530e
commit 6f9a6eb294

View File

@@ -18,7 +18,7 @@ func CommandPropertySet(pluginName, appName, property, value string, properties
LogFail(err.Error())
}
}
if !globalProperties[property] {
if appName == "--global" && !globalProperties[property] {
LogFail("Property cannot be specified globally")
}
if property == "" {