Skip to content

Commit c53b720

Browse files
authored
fix(node): remove unwrap in op_require_node_module_paths (#23114)
Part of #22671
1 parent d347e73 commit c53b720

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/node/ops/require.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ where
103103
deno_core::resolve_path(
104104
&from,
105105
&(fs.cwd().map_err(AnyError::from)).context("Unable to get CWD")?,
106-
)
107-
.unwrap()
106+
)?
108107
};
109108
let from = url_to_file_path(&from_url)?;
110109

0 commit comments

Comments
 (0)