Skip to content

Commit

Permalink
fix: import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Jul 23, 2023
1 parent 9005d68 commit c9e27e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beize_compiler/lib/compiler/compiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class BeizeCompiler {
}

String resolveImportPath(final String path) {
final String importDir = p.dirname(p.join(root, moduleName));
final String importDir = p.dirname(modulePath);
final String absolutePath = p.join(importDir, path);
return p.normalize(absolutePath);
}
Expand Down

0 comments on commit c9e27e3

Please sign in to comment.