Navigation Menu

Skip to content

Commit

Permalink
chore(style): fixed the indentation
Browse files Browse the repository at this point in the history
fix the indentation
  • Loading branch information
anikethsaha committed May 28, 2019
1 parent fc9e259 commit e583aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/utils/plugins.ts
Expand Up @@ -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());
Expand Down

0 comments on commit e583aab

Please sign in to comment.