From e583aabd51442f427a3f92816153b01ac43288af Mon Sep 17 00:00:00 2001 From: anikethsaha Date: Tue, 28 May 2019 11:52:04 +0530 Subject: [PATCH] chore(style): fixed the indentation fix the indentation --- packages/generators/utils/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/generators/utils/plugins.ts b/packages/generators/utils/plugins.ts index f2c571e7cda..ab3d3698a45 100644 --- a/packages/generators/utils/plugins.ts +++ b/packages/generators/utils/plugins.ts @@ -43,7 +43,7 @@ export const replaceAt = (str: string, index: number, replace: string) : string export const generatePluginName = (rawPluginName: string): string => { let myPluginNameArray : string[]; myPluginNameArray = rawPluginName.split("-"); - if( myPluginNameArray.length <= 1 ){} + if(myPluginNameArray.length <= 1){} else{ for (let i = 0; i < myPluginNameArray.length; i++) { myPluginNameArray[i] = replaceAt(myPluginNameArray[i], 0, myPluginNameArray[i].charAt(0).toUpperCase());