()
| 20164 | return p.replace(/\\\\+/g, "\\"); |
| 20165 | } |
| 20166 | return p.replace(/\/\/+/g, "/"); |
| 20167 | } |
| 20168 | function isUnixExecutable(stats) { |
| 20169 | return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && process.getgid !== void 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && process.getuid !== void 0 && stats.uid === process.getuid(); |
| 20170 | } |
| 20171 | |
| 20172 | // |
no test coverage detected