NickLiffen / ghas-enablement

A tool that aims to bulk automates the enablement of GitHub Code Scanning, Secret Scanning and Dependabot across multiple repositories.
152 stars 52 forks source link

Fixing git add command + issue text typos #100

Closed CallMeGreg closed 1 year ago

CallMeGreg commented 1 year ago

This PR conditionally includes the --sparse flag within the git add command when the detected platform === darwin. Also fixed some small typos in the issueText.ts file.

Please double check my understanding that the git clone command is only invoking the --sparse flag when the detected platform === darwin 😄

If the --sparse flag is desired always, we can scrap commit de2bb52 which includes the platform check.