Only use dirname if options.basePath is a file
Only use dirname if options.basePath is a file

paulwellnerbou/styledocco,ooooooo-q/styledocco,ooooooo-q/styledocco,jacobrask/styledocco,paulwellnerbou/styledocco,trungnghia112/styledocco,trungnghia112/styledocco