Prepare eval error handling for cli arg errors

This commit is contained in:
Joscha 2021-12-18 23:31:27 +01:00
parent 279bf4a4d1
commit ff627b98df
8 changed files with 107 additions and 93 deletions

View file

@ -216,7 +216,7 @@ impl<'a> CommandState<'a> {
Ok(())
} else {
Err(Error::MoveWithoutSource {
file: self.command.source.file(),
index: self.command.source.file(),
span,
})
}