(file)
| 3 | @returns {string} |
| 4 | */ |
| 5 | const getFileBasename = (file) => String(file).split(/[/\\]/).pop(); |
| 6 | |
| 7 | // Ideally, we should only allow `URL` with `file:` protocol and |
| 8 | // string starts with `file:`, but `URL` is missing in some environments |
nothing calls this directly
no test coverage detected
searching dependent graphs…