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

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-04 12:43:15 -05:00
1 parent d6acf5530e
commit 6f9a6eb294
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ func CommandPropertySet(pluginName, appName, property, value string, properties
LogFail(err.Error()) LogFail(err.Error())
} }
} }
if !globalProperties[property] { if appName == "--global" && !globalProperties[property] {
LogFail("Property cannot be specified globally") LogFail("Property cannot be specified globally")
} }
if property == "" { if property == "" {