Skip to content

Commit

Permalink
chore: rename to None.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Aug 5, 2024
1 parent 7fb3366 commit f65cc10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pipelines/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pub enum TrunkAssetPipelineOutput {
CopyFile(CopyFileOutput),
CopyDir(CopyDirOutput),
RustApp(RustAppOutput),
EmptyBuild,
None,
}

impl TrunkAssetPipelineOutput {
Expand All @@ -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(()),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pipelines/rust/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ impl RustApp {
#[tracing::instrument(level = "trace", skip(self))]
async fn build(mut self) -> Result<TrunkAssetPipelineOutput> {
if self.skip_build {
return Ok(TrunkAssetPipelineOutput::EmptyBuild);
return Ok(TrunkAssetPipelineOutput::None);
}

// run the cargo build
Expand Down

0 comments on commit f65cc10

Please sign in to comment.