From ac4061db4cb903587f9d3c56a1238e20509ca854 Mon Sep 17 00:00:00 2001 From: Joris Steyn Date: Sun, 6 Nov 2016 11:22:26 +0100 Subject: [PATCH 1/2] Minor README improvement: embed only valid json Invalid json is displayed on a distracting bright red background. This commit removes the ellipsis from the example json - people will have to understand they have to merge the existing commands in the object. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 183b44d454..31a53a5dfe 100644 --- a/README.md +++ b/README.md @@ -100,12 +100,10 @@ achieve that by registering `@drupal-scaffold` as post-install and post-update c "scripts": { "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", "post-install-cmd": [ - "@drupal-scaffold", - ... + "@drupal-scaffold" ], "post-update-cmd": [ - "@drupal-scaffold", - ... + "@drupal-scaffold" ] }, ``` From 8f8f289e10e925ceaf38ddbeb71090f74022fb45 Mon Sep 17 00:00:00 2001 From: Joris Steyn Date: Sun, 6 Nov 2016 11:59:38 +0100 Subject: [PATCH 2/2] Restore ellipsis as valid json --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31a53a5dfe..9ddaa63fb6 100644 --- a/README.md +++ b/README.md @@ -100,10 +100,12 @@ achieve that by registering `@drupal-scaffold` as post-install and post-update c "scripts": { "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", "post-install-cmd": [ - "@drupal-scaffold" + "@drupal-scaffold", + "..." ], "post-update-cmd": [ - "@drupal-scaffold" + "@drupal-scaffold", + "..." ] }, ```