mirror of https://git.sr.ht/~nixgoat/vento
error: Fix switchup between SpecifyFile and SpecifySlot
Turns out SpecifyFile would show the message for SpecifySlot and viceversa. Whoops!
This commit is contained in:
parent
5e2763f5df
commit
67d2da8767
|
@ -32,8 +32,8 @@ pub fn throw_error(error: ErrorType) -> Result<()> {
|
|||
"{}",
|
||||
match error {
|
||||
ErrorType::TooManyArgs => "Too many arguments",
|
||||
ErrorType::SpecifySlot => "You need to specify a file",
|
||||
ErrorType::SpecifyFile => "You need to specify a slot",
|
||||
ErrorType::SpecifyFile => "You need to specify a file",
|
||||
ErrorType::SpecifySlot => "You need to specify a slot",
|
||||
ErrorType::NoCurrentDirectory => "Vento was unable to detect your current directory. Have you configured your environment correctly?",
|
||||
}
|
||||
.red()
|
||||
|
|
Loading…
Reference in New Issue