()
| 344 | * Returns true if the current git working directory is clean |
| 345 | */ |
| 346 | export function checkGitCleanWorkingDirectory() { |
| 347 | return !execSync(`git status --untracked-files=no --porcelain`, { |
| 348 | encoding: 'utf-8', |
| 349 | }) |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * Returns true if the current git branch is master |
no outgoing calls
no test coverage detected