Skip to content

Commit

Permalink
fix capitalize bug
Browse files Browse the repository at this point in the history
  • Loading branch information
navxio committed Jan 14, 2019
1 parent 929e56d commit ac6f195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ A command line application to manage your cryptocurrency portfolio across exchan
# Installation

With npm

```
[sudo] npm i -g @navxio/coin
```
Expand Down
4 changes: 4 additions & 0 deletions src/commands/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ class SetupCommand extends Command {
this.log('Successfully wrote ' + (path.join(this.config.configDir, 'config.json')))
}
}

capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1)
}
}

SetupCommand.description = `Run through the setup wizard
Expand Down

0 comments on commit ac6f195

Please sign in to comment.