Skip to content

Commit 09e4763

Browse files
committed
bug fix
1 parent 851cbca commit 09e4763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dfx/src/lib/builders/motoko.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn get_imports(cache: &dyn Cache, info: &MotokoCanisterInfo, imports: &mut Impor
6464

6565
for line in output.lines() {
6666
let import = MotokoImport::try_from(line).context("Failed to create MotokoImport.")?;
67-
match import {
67+
match &import {
6868
MotokoImport::Relative(path) => {
6969
if !imports.nodes.contains_key(&import) { // Don't look up already looked up dependencies
7070
get_imports_recursive(cache, path.as_path(), imports)?;

0 commit comments

Comments
 (0)