If `FileInfo.Directory` returns `null`, it's most likely because the file's path is C:\GitVersion.log, i.e. to the root of a drive. Since that's a valid use case, `null` needs to be supported.
If `FileInfo.Directory` returns `null`, it's most likely because the file's path is C:\GitVersion.log, i.e. to the root of a drive. Since that's a valid use case, `null` needs to be supported.

FireHost/GitVersion,ParticularLabs/GitVersion,FireHost/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,dazinator/GitVersion,gep13/GitVersion,JakeGinnivan/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,gep13/GitVersion,pascalberger/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,Philo/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,DanielRose/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,dpurge/GitVersion,DanielRose/GitVersion,dazinator/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,asbjornu/GitVersion,JakeGinnivan/GitVersion,Philo/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,dpurge/GitVersion,DanielRose/GitVersion