Skip to content

Commit

Permalink
Fix Aliases Without Replacement at End (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: Mitchell Grenier <mitchell.grenier@bitmex.com>
  • Loading branch information
obelisk and Mitchell Grenier authored May 22, 2020
1 parent 8d8afdc commit ddb72f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ func InterpolateArguments(rawLine string, command string) (string, error) {
realizedCommand += arg
}

return realizedCommand, nil
return realizedCommand + placeholderParts[len(placeholderParts)-1], nil
}

0 comments on commit ddb72f7

Please sign in to comment.