Im trying to list just the directories in my current working dir.
my directory structure as follows:
Im using:
but this returns:
why is it returning marketingtest/ when the folder doesnt exist? it wouldnt be so bad if it returned marketing/test/ instead then I wouldnt have to do recursive looks into all the folders.