(hostPath: string)
| 22 | const execAsync = promisify(exec); |
| 23 | |
| 24 | function getContainerPath(hostPath: string): string { |
| 25 | if (os.platform() !== 'win32') { |
| 26 | return hostPath; |
| 27 | } |
| 28 | const withForwardSlashes = hostPath.replace(/\\/g, '/'); |
| 29 | const match = withForwardSlashes.match(/^([A-Z]):\/(.*)/i); |
| 30 | if (match) { |
| 31 | return `/${match[1].toLowerCase()}/${match[2]}`; |
| 32 | } |
| 33 | return hostPath; |
| 34 | } |
| 35 | |
| 36 | const LOCAL_DEV_SANDBOX_IMAGE_NAME = 'anus-cli-sandbox'; |
| 37 | const SANDBOX_NETWORK_NAME = 'anus-cli-sandbox'; |
no outgoing calls
no test coverage detected