mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
check not empty root urls before setting field (#53135)
This commit is contained in:
@@ -22,7 +22,7 @@ const pluginSignRunner: TaskRunner<PluginSignOptions> = async ({ signatureType,
|
||||
if (signatureType) {
|
||||
manifest.signatureType = signatureType;
|
||||
}
|
||||
if (rootUrls) {
|
||||
if (rootUrls && rootUrls.length > 0) {
|
||||
rootUrls.forEach(assertRootUrlIsValid);
|
||||
manifest.rootUrls = rootUrls;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user