Skip to content

Commit

Permalink
fix: fix typo of feature recipe-generation (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTTPOB authored Aug 4, 2024
1 parent 43afd9e commit 2eb7ccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async fn main() -> miette::Result<()> {
.await
}
Some(SubCommands::Upload(upload_args)) => upload_from_args(upload_args).await,
#[cfg(feature = "recipe-generator")]
#[cfg(feature = "recipe-generation")]
Some(SubCommands::GenerateRecipe(args)) => {
rattler_build::recipe_generator::generate_recipe(args).await
}
Expand Down
4 changes: 2 additions & 2 deletions src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use std::{path::PathBuf, str::FromStr};

#[cfg(feature = "recipe-generator")]
#[cfg(feature = "recipe-generation")]
use crate::recipe_generator::GenerateRecipeOpts;

use crate::{
Expand Down Expand Up @@ -47,7 +47,7 @@ pub enum SubCommands {
/// Generate shell completion script
Completion(ShellCompletion),

#[cfg(feature = "recipe-generator")]
#[cfg(feature = "recipe-generation")]
/// Generate a recipe from PyPI or CRAN
GenerateRecipe(GenerateRecipeOpts),

Expand Down

0 comments on commit 2eb7ccf

Please sign in to comment.