Skip to content

Commit

Permalink
Fix dumping without HTTP feature (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored May 25, 2022
1 parent cbd3ea8 commit 17bd8ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dumper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ fn get_from_id(
#[cfg(not(feature = "http"))]
fn get_from_id(
_config: &Config,
_path: &Path,
_filename: String,
path: &Path,
filename: String,
) -> common::Result<(Vec<u8>, String)> {
anyhow::bail!("HTTP symbol retrieval not enabled")
Ok((utils::read_file(path), filename))
}

pub fn single_file(config: &Config, filename: &str) -> common::Result<()> {
Expand Down

0 comments on commit 17bd8ff

Please sign in to comment.