Browse Source

Ensure scripts description items are strings

Mathias Brodala 7 years ago
parent
commit
ad56577223
1 changed files with 4 additions and 1 deletions
  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",