(path, ext)
| 22 | } |
| 23 | |
| 24 | function getFileName(path, ext) { |
| 25 | return new RegExp(`\\.(${ext.replace(/^\./, '')}|html)$`, 'g').test(path) |
| 26 | ? path |
| 27 | : /\/$/g.test(path) |
| 28 | ? `${path}README${ext}` |
| 29 | : `${path}${ext}`; |
| 30 | } |
| 31 | |
| 32 | export class History { |
| 33 | constructor(config) { |
no outgoing calls
no test coverage detected
searching dependent graphs…