(path)
| 204 | } |
| 205 | |
| 206 | function safeDirname(path) { |
| 207 | try { |
| 208 | return Url.dirname(path); |
| 209 | } catch (_) { |
| 210 | return null; |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | async function readConfigFromDirectory(directory) { |
| 215 | if (!directory) return null; |
no outgoing calls
no test coverage detected