(filepath)
| 75 | } |
| 76 | |
| 77 | function resolvePath(filepath) { |
| 78 | if (filepath[0] === '~') { |
| 79 | return path.join(process.env.HOME, filepath.slice(1)); |
| 80 | } else { |
| 81 | return path.resolve(filepath); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | module.exports = { |
| 86 | asyncCopyTo, |
no test coverage detected