fix: only check for global properties when appName is --global
This commit is contained in:
1 parent
d6acf5530e
commit
6f9a6eb294
1 file changed
+1
-1
@@ -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 == "" {
|
||||||
|
|||||||
Reference in new issue
Block a user