Преглед на файлове

Ensure scripts description items are strings

Mathias Brodala преди 7 години
родител
ревизия
ad56577223
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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",