(p)
| 126 | } |
| 127 | |
| 128 | function pathInRoot(p) { |
| 129 | if (!process.env.BROWSERSLIST_ROOT_PATH) return true |
| 130 | var rootPath = path.resolve(process.env.BROWSERSLIST_ROOT_PATH) |
| 131 | if (path.relative(rootPath, p).substring(0, 2) === '..') { |
| 132 | return false |
| 133 | } |
| 134 | return true |
| 135 | } |
| 136 | |
| 137 | function check(section) { |
| 138 | if (Array.isArray(section)) { |