Remove support from local module with abs path as it isn't supported
@@ -11,7 +11,7 @@ class LocalPathLoader(ModuleLoader):
def _is_matching_loader(self) -> bool:
return self.module_source.startswith("./") or self.module_source.startswith("../") \
- or self.module_source.startswith(self.current_dir) or self.module_source.startswith('/')
+ or self.module_source.startswith(self.current_dir)
def _load_module(self) -> ModuleContent:
module_path = os.path.normpath(os.path.join(self.current_dir, self.module_source))
