mirror of
https://github.com/Jguer/yay.git
synced 2026-09-17 14:39:29 -05:00
refactor(workdir): remove unnecessary global NoConfirm mutation in removeMake removeMake always removes packages non-interactively, so it sets settings.NoConfirm = true, calls BuildPacmanCmd, then restores the original value. This pattern is thread-unsafe and redundant because BuildPacmanCmd already accepts a noConfirm bool parameter. Pass true directly to BuildPacmanCmd, eliminating the global mutation.