From f45c0125fc0aa0f21c18c387462dea3a9848e558 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Fri, 15 Jul 2022 20:27:55 +0100 Subject: [PATCH] Ensure boolean config options are not handled as strings --- resources/composer.json | 2 +- resources/pre-installation.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/composer.json b/resources/composer.json index acf9d513..c90f9837 100644 --- a/resources/composer.json +++ b/resources/composer.json @@ -6,7 +6,7 @@ "website": "https://github.com/ergebnis/composer-normalize", "command": { "sh": { - "command": "composer config --global allow-plugins.ergebnis/composer-normalize true" + "command": "composer config --global --json allow-plugins.ergebnis/composer-normalize true" }, "composer-global-install": { "package": "ergebnis/composer-normalize" diff --git a/resources/pre-installation.json b/resources/pre-installation.json index 02459c99..a6d8b630 100644 --- a/resources/pre-installation.json +++ b/resources/pre-installation.json @@ -38,7 +38,7 @@ "website": "https://github.com/bamarni/composer-bin-plugin", "command": { "sh": { - "command": "composer global config extra.bamarni-bin.bin-links false && composer config --global allow-plugins.bamarni/composer-bin-plugin true" + "command": "composer global config --json extra.bamarni-bin.bin-links false && composer config --global --json allow-plugins.bamarni/composer-bin-plugin true" }, "composer-global-install": { "package": "bamarni/composer-bin-plugin"