From a1ae35c706bc5690639b72cae0f55772eb5f928c Mon Sep 17 00:00:00 2001 From: Adon Moskal Date: Wed, 8 Nov 2023 11:46:19 +1300 Subject: [PATCH] chore(removed-dead-code): Removed a .replace() that wasn't actually doing anything --- javascript-modules/init/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript-modules/init/main.js b/javascript-modules/init/main.js index 5d18841a..79504f93 100755 --- a/javascript-modules/init/main.js +++ b/javascript-modules/init/main.js @@ -132,7 +132,7 @@ const initComponent = async (options, bookshopConfigFiles) => { message: 'What flavor of CSS would you like for components?', choices: ['SCSS (Recommended)', 'CSS'], filter(val) { - return val.split(' ')[0].toLowerCase().replace(/yaml/, 'yml'); + return val.split(' ')[0].toLowerCase(); }, }]); targetStyle = resp.style;