codepipeline-git-metadata-example icon indicating copy to clipboard operation
codepipeline-git-metadata-example copied to clipboard

Skip execution if the working copy is already a valid clone

Open brendonmatheson opened this issue 5 years ago • 0 comments
trafficstars

I found this script didn't work when running in CodeBuild Local because my working copy was already a valid clone. Rather than temp hacks to the code or environment I've made a small addition to the script to check early on if there is a .git directory and exit cleanly if so.

brendonmatheson avatar Jun 09 '20 10:06 brendonmatheson