fix: ensure calling env command with options only would not throw
#12304
Loading
env command with options only would not throw
#12304