From 35288e173d8bb15cb08aa04fdd39bc859f8e0a87 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sat, 9 May 2026 20:34:52 +0700 Subject: [PATCH] Check pinned rev to fix reload on TUI --- src/bin/repo.rs | 3 ++- src/recipe.rs | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index c604da73..b54a3cf5 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -717,7 +717,7 @@ fn parse_args(args: Vec) -> Result<(CliConfig, CliCommand, Vec) -> Result<(CliConfig, CliCommand, Vec Result<(), PackageError> { + if self.pinned { + // TODO: print? + return Ok(()); + } self.recipe = Self::from_path(&self.dir, true, self.name.is_host())?.recipe; let _ = self.apply_filesystem_config(&self.rule.clone()); Ok(())