Prechádzať zdrojové kódy

Ensure scripts description items are strings

Mathias Brodala 7 rokov pred
rodič
commit
ad56577223
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      res/composer-schema.json

+ 4 - 1
res/composer-schema.json

@@ -449,7 +449,10 @@
         },
         "scripts-description": {
             "type": ["object"],
-            "description": "Descriptions for scripts listeners, shown in console help."
+            "description": "Descriptions for scripts listeners, shown in console help.",
+            "additionalProperties": {
+                "type": "string"
+            }
         },
         "support": {
             "type": "object",