Improve error message
Write a more correct error message.
This commit is contained in:
parent
33e39f0b40
commit
506001a366
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ impl Hook {
|
|||
)
|
||||
})?,
|
||||
)?,
|
||||
None => bail!("Missing expression in variable `{}`", token),
|
||||
None => bail!("Invalid expression `{}`", token),
|
||||
};
|
||||
|
||||
command.push_str(&replaced);
|
||||
|
|
Loading…
Reference in a new issue