(...p)
| 64 | const fromRoot = (...p) => path.join(appDirectory, ...p) |
| 65 | const toPOSIX = p => p.split(path.sep).join(path.posix.sep) |
| 66 | const hasFile = (...p) => fs.existsSync(fromRoot(...p)) |
| 67 | const ifFile = (files, t, f) => |
| 68 | arrify(files).some(file => hasFile(file)) ? t : f |
| 69 |
no test coverage detected
searching dependent graphs…