Skip to content

Commit

Permalink
Remove some left over dbg!() statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Sep 23, 2023
1 parent 13dd75a commit 9707578
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/wasix/src/runtime/package_loader/load_package_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fn load_binary_command(
name: atom_name,
dependency,
..
} = match dbg!(atom_name_for_command(command_name, cmd)?) {
} = match atom_name_for_command(command_name, cmd)? {
Some(name) => name,
None => {
tracing::warn!(
Expand Down Expand Up @@ -147,12 +147,10 @@ fn load_binary_command(
None => package,
};

dbg!(package_id, command_name, cmd);

let atom = webc.get_atom(&atom_name);

if atom.is_none() && cmd.annotations.is_empty() {
return Ok(legacy_atom_hack(webc, &command_name, cmd));
return Ok(legacy_atom_hack(webc, command_name, cmd));
}

let atom = atom.with_context(|| {
Expand Down

0 comments on commit 9707578

Please sign in to comment.