mirror of
https://github.com/block/buzz.git
synced 2026-11-28 12:12:04 +00:00
refactor(desktop): close relay skill env bypass
Co-authored-by: Rizz <302abe414ca6e3134763d2539bfcf145aea2a63fe5f8455204ed602fd40cf381@buzz.block.builderlab.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
@@ -40,10 +40,7 @@ pub(crate) fn resolve_and_apply_assigned_relay_skills_env<'a>(
|
||||
Ok(assigned)
|
||||
}
|
||||
|
||||
pub(crate) fn apply_assigned_relay_skills_env(
|
||||
command: &mut std::process::Command,
|
||||
coordinates: &[String],
|
||||
) {
|
||||
fn apply_assigned_relay_skills_env(command: &mut std::process::Command, coordinates: &[String]) {
|
||||
if coordinates.is_empty() {
|
||||
command.env_remove(ASSIGNED_RELAY_SKILLS_ENV);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user