Skip to content

Commit

Permalink
Fix typo in ruby command error. (#79)
Browse files Browse the repository at this point in the history
"unkown" => "unknown"
  • Loading branch information
micsco authored and godrei committed Nov 12, 2018
1 parent ac1c370 commit 2a09aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/rubycommand/rubycommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func sudoNeeded(installType InstallType, slice ...string) bool {
func NewWithParams(params ...string) (*command.Model, error) {
rubyInstallType := installType()
if rubyInstallType == Unkown {
return nil, errors.New("unkown ruby installation type")
return nil, errors.New("unknown ruby installation type")
}

if sudoNeeded(rubyInstallType, params...) {
Expand Down

0 comments on commit 2a09aab

Please sign in to comment.