op: skip env check for op switch (#34619)

This commit is contained in:
Adeeb Shihadeh
2025-02-18 21:18:34 -08:00
committed by GitHub
parent 1cff1a363e
commit bea096f0c5
-2
View File
@@ -318,8 +318,6 @@ function op_sim() {
}
function op_switch() {
op_before_cmd
REMOTE="origin"
if [ "$#" -gt 1 ]; then
REMOTE="$1"