We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674005c commit b2f4e7cCopy full SHA for b2f4e7c
src/console/new_config.rs
@@ -104,7 +104,10 @@ impl NewConfigCommand {
104
105
let dep: Vec<Dependency> = DependencyInput::new().input()?;
106
debug!("dep: {:?}", dep);
107
- let build_config: BuildConfig = BuildConfigInput::new().input()?;
+ let build_config: BuildConfig = match &task_type {
108
+ TaskType::InstallFromPrebuilt(_) => BuildConfig::new(Option::Some("".to_string())),
109
+ TaskType::BuildFromSource(_) => BuildConfigInput::new().input()?,
110
+ };
111
debug!("build_config: {:?}", build_config);
112
let install_config: InstallConfig = InstallConfigInput::new().input()?;
113
debug!("install_config: {:?}", install_config);
0 commit comments