Reproduce the script's cache-key derivation: absolute path with / -> _.
(dir: string)
| 19 | |
| 20 | /** Reproduce the script's cache-key derivation: absolute path with / -> _. */ |
| 21 | function cacheKeyFor(dir: string): string { |
| 22 | return dir.replace(/\//g, '_'); |
| 23 | } |
| 24 | |
| 25 | function runSlug(cwd: string, home: string) { |
| 26 | return spawnSync([SLUG_BIN], { |
no outgoing calls
no test coverage detected