(path: string)
| 25 | } |
| 26 | |
| 27 | function normalizeRuntimePath(path: string): string { |
| 28 | return process.platform === 'win32' |
| 29 | ? path.split(win32.sep).join(posix.sep) |
| 30 | : path |
| 31 | } |
| 32 | |
| 33 | export function isRunningFromBuildDirectory(): boolean { |
| 34 | const invokedPath = normalizeRuntimePath(process.argv[1] || '') |
no outgoing calls
no test coverage detected