From 18975ec4148d828afe1bd68d8c198ef55aaf9a42 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 26 Apr 2024 02:16:03 +0530 Subject: [PATCH] Fix ecs config --- __tests__/tools.test.ts | 2 +- src/configs/tools.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/__tests__/tools.test.ts b/__tests__/tools.test.ts index 1332484af..cde459d59 100644 --- a/__tests__/tools.test.ts +++ b/__tests__/tools.test.ts @@ -469,7 +469,7 @@ describe('Tools tests', () => { 'add_symfony latest', 'add_composer_tool vapor-cli vapor-cli laravel/ scoped', 'add_tool https://github.com/wp-cli/builds/blob/gh-pages/phar/wp-cli.phar?raw=true wp-cli "--version"', - 'add_composer_tool easy-coding-standard ecs symplify/ scoped' + 'add_composer_tool easy-coding-standard easy-coding-standard symplify/ scoped' ] ] ])('checking addTools on darwin', async (tools_csv, scripts) => { diff --git a/src/configs/tools.json b/src/configs/tools.json index 6bcf6347b..0a15a3c40 100644 --- a/src/configs/tools.json +++ b/src/configs/tools.json @@ -319,8 +319,9 @@ "version_parameter": "--version", "version_prefix": "v" }, - "ecs": { + "easy-coding-standard": { "type": "composer", + "alias": "ecs", "repository": "symplify/easy-coding-standard", "scope": "scoped" }