Skip to content

Commit

Permalink
chore(removed-dead-code): Removed a .replace() that wasn't actually d…
Browse files Browse the repository at this point in the history
…oing anything
  • Loading branch information
Adon Moskal authored and Adon Moskal committed Nov 7, 2023
1 parent 5888925 commit a1ae35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript-modules/init/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a1ae35c

Please sign in to comment.