File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ export const parseSvgFilename = (params: ParseSvgFilename): string => {
1313
1414 if ( / ^ \d / . test ( component ) ) {
1515 if ( log ) {
16- console . log ( `[⚠️] Component name starts with a number: ${ component } ` ) ;
16+ console . log (
17+ `\n - [⚠️] Component name starts with a number: ${ component } ` ,
18+ ) ;
1719 }
1820 component = "Icon" + component ;
1921 }
@@ -33,7 +35,9 @@ export const parseSvgFilename = (params: ParseSvgFilename): string => {
3335 ] ) ;
3436 if ( reserved . has ( component ) ) {
3537 if ( log ) {
36- console . log ( `[⚠️] Component name is a reserved keyword: ${ component } ` ) ;
38+ console . log (
39+ `\n - [⚠️] Component name is a reserved keyword: ${ component } ` ,
40+ ) ;
3741 }
3842 component = "Icon" + component [ 0 ] . toUpperCase ( ) + component . slice ( 1 ) ;
3943 }
You can’t perform that action at this time.
0 commit comments