(args, options = {})
| 38 | const PROTECTED_FILES = []; |
| 39 | |
| 40 | function git(args, options = {}) { |
| 41 | return execFileSync('git', args, { |
| 42 | encoding: 'utf8', |
| 43 | stdio: ['ignore', 'pipe', 'pipe'], |
| 44 | ...options |
| 45 | }); |
| 46 | } |
| 47 | |
| 48 | function getStagedFiles() { |
| 49 | const output = git([ |
no outgoing calls
no test coverage detected