Did you mean pettily?
pettily
verb
°In a petty manner.