Skip to content

Commit

Permalink
fix: typo in the editing alias message
Browse files Browse the repository at this point in the history
FossilOrigin-Name: f35c879a2d1a07c3b8906a9962aa1d93c29b52cc8f29c9e2cd74a9e5878f962e
  • Loading branch information
thindil committed Nov 16, 2023
1 parent 21ca603 commit 67a8015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aliases.nim
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ proc deleteAlias*(arguments; aliases; db): ResultCode {.sideEffect, raises: [],
## * db - the connection to the shell's database
##
## Returns QuitSuccess if the selected alias was properly deleted, otherwise
## QuitFailure. Also, updated paramete aliases
## QuitFailure. Also, updated parameter aliases
require:
arguments.len > 5
arguments.startsWith(prefix = "delete")
Expand Down Expand Up @@ -565,7 +565,7 @@ proc editAlias*(arguments; aliases; db): ResultCode {.sideEffect, raises: [],
except OSError:
return showError(message = "Can't set aliases for the current directory. Reason: ",
e = getCurrentException())
showOutput(message = "The alias with Id: '" & $id & "' edited.",
showOutput(message = "The alias with Id: '" & $id & "' edited.",
fgColor = fgGreen)
return QuitSuccess.ResultCode

Expand Down

0 comments on commit 67a8015

Please sign in to comment.