fix: wrong var for name in UnknownModule error
This commit is contained in:
parent
b6ac39f322
commit
7e531d0da1
|
@ -320,7 +320,7 @@ impl<'a> Environment<'a> {
|
|||
self.imported_modules
|
||||
.get(m)
|
||||
.ok_or_else(|| Error::UnknownModule {
|
||||
name: name.to_string(),
|
||||
name: m.to_string(),
|
||||
imported_modules: self
|
||||
.importable_modules
|
||||
.keys()
|
||||
|
|
Loading…
Reference in New Issue