Explorar o código

Ensure scripts description items are strings

Mathias Brodala %!s(int64=7) %!d(string=hai) anos
pai
achega
ad56577223
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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",