fix: #340 adding is directory check for each files in component folder
Merge pull request #341 from codingtwinky/Fix-for-git-version-override

fix: #340 adding is directory check for each files in component folder