Parcourir la source

Ensure scripts description items are strings

Mathias Brodala il y a 7 ans
Parent
commit
ad56577223
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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",