Skip to content

Commit

Permalink
chore: fix build (denoland#13997)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Mar 17, 2022
1 parent 92bb251 commit 18f998f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jsonc-parser = { version = "=0.19.0", features = ["serde"] }
libc = "=0.2.106"
log = { version = "=0.4.14", features = ["serde"] }
lspower = "=1.4.0"
node_resolver = "0.1.0"
node_resolver = "=0.1.1"
notify = "=5.0.0-pre.12"
num-format = "=0.4.0"
once_cell = "=1.9.0"
Expand Down
2 changes: 1 addition & 1 deletion cli/compat/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub async fn translate_cjs_to_esm(
// if there are reexports, handle them first
for (idx, reexport) in analysis.reexports.iter().enumerate() {
// Firstly, resolve relate reexport specifier
let resolved_reexport = node_resolver::node_resolve(
let resolved_reexport = node_resolver::resolve(
reexport,
&specifier.to_file_path().unwrap(),
// FIXME(bartlomieju): check if these conditions are okay, probably
Expand Down
2 changes: 1 addition & 1 deletion cli/tools/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ pub(crate) fn get_configured_rules(
);

if configured_rules.is_empty() {
anyhow!("No rules have been configured");
return Err(anyhow!("No rules have been configured"));
}

Ok(configured_rules)
Expand Down

0 comments on commit 18f998f

Please sign in to comment.