A young drug dealer caught red handed selling from his car has been spared custody after appearing to mend his ways.