diff --git a/androscalpel/src/apk.rs b/androscalpel/src/apk.rs index b4348c9..e4662f5 100644 --- a/androscalpel/src/apk.rs +++ b/androscalpel/src/apk.rs @@ -1,6 +1,6 @@ //! Representation of an apk. -use anyhow::{Context, anyhow, bail}; +use anyhow::{anyhow, bail, Context}; use serde::{Deserialize, Serialize}; use std::collections::{HashMap, HashSet}; use std::fs::File; @@ -11,9 +11,9 @@ use log::{error, info}; #[cfg(feature = "python")] use pyo3::{prelude::*, types::PyBytes}; -use crate::Result; use crate::ins::CallSite; use crate::instructions; +use crate::Result; use crate::*; use androscalpel_serializer::Instruction as InsFormat; use androscalpel_serializer::*; @@ -3079,7 +3079,7 @@ impl Apk { } Ok(()) } else { - bail!("Could not recognize the type of the input file") + bail!("Could not recognize the type of the input file (neither dex nor zip)") } } }