fix: Missing a feature flat cfg (#1563)

This commit is contained in:
J M
2022-06-21 10:34:03 -06:00
committed by GitHub
parent 477d37f87d
commit a9d839fd8f

View File

@@ -128,6 +128,7 @@ impl std::fmt::Display for PackageProcedure {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
PackageProcedure::Docker(_) => write!(f, "Docker")?,
#[cfg(feature = "js_engine")]
PackageProcedure::Script(_) => write!(f, "JS")?,
}
Ok(())