From f65cc10ab2722c1250cabb9a454d055379a23fee Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Mon, 5 Aug 2024 10:51:11 +0200 Subject: [PATCH] chore: rename to `None`. --- src/pipelines/mod.rs | 4 ++-- src/pipelines/rust/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipelines/mod.rs b/src/pipelines/mod.rs index 68f35a3d..aa2a01f4 100644 --- a/src/pipelines/mod.rs +++ b/src/pipelines/mod.rs @@ -158,7 +158,7 @@ pub enum TrunkAssetPipelineOutput { CopyFile(CopyFileOutput), CopyDir(CopyDirOutput), RustApp(RustAppOutput), - EmptyBuild, + None, } impl TrunkAssetPipelineOutput { @@ -173,7 +173,7 @@ impl TrunkAssetPipelineOutput { TrunkAssetPipelineOutput::CopyFile(out) => out.finalize(dom).await, TrunkAssetPipelineOutput::CopyDir(out) => out.finalize(dom).await, TrunkAssetPipelineOutput::RustApp(out) => out.finalize(dom).await, - TrunkAssetPipelineOutput::EmptyBuild => Ok(()), + TrunkAssetPipelineOutput::None => Ok(()), } } } diff --git a/src/pipelines/rust/mod.rs b/src/pipelines/rust/mod.rs index fd19677d..cf05d6fd 100644 --- a/src/pipelines/rust/mod.rs +++ b/src/pipelines/rust/mod.rs @@ -327,7 +327,7 @@ impl RustApp { #[tracing::instrument(level = "trace", skip(self))] async fn build(mut self) -> Result { if self.skip_build { - return Ok(TrunkAssetPipelineOutput::EmptyBuild); + return Ok(TrunkAssetPipelineOutput::None); } // run the cargo build