We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851cbca commit 09e4763Copy full SHA for 09e4763
src/dfx/src/lib/builders/motoko.rs
@@ -64,7 +64,7 @@ fn get_imports(cache: &dyn Cache, info: &MotokoCanisterInfo, imports: &mut Impor
64
65
for line in output.lines() {
66
let import = MotokoImport::try_from(line).context("Failed to create MotokoImport.")?;
67
- match import {
+ match &import {
68
MotokoImport::Relative(path) => {
69
if !imports.nodes.contains_key(&import) { // Don't look up already looked up dependencies
70
get_imports_recursive(cache, path.as_path(), imports)?;
0 commit comments