(exports2, module2)
| 1317 | // node_modules/shebang-command/index.js |
| 1318 | var require_shebang_command = __commonJS({ |
| 1319 | "node_modules/shebang-command/index.js"(exports2, module2) { |
| 1320 | "use strict"; |
| 1321 | var shebangRegex = require_shebang_regex(); |
| 1322 | module2.exports = (string = "") => { |
| 1323 | const match = string.match(shebangRegex); |
| 1324 | if (!match) { |
| 1325 | return null; |
| 1326 | } |
| 1327 | const [path5, argument] = match[0].replace(/#! ?/, "").split(" "); |
| 1328 | const binary = path5.split("/").pop(); |
| 1329 | if (binary === "env") { |
| 1330 | return argument; |
| 1331 | } |
| 1332 | return argument ? `${binary} ${argument}` : binary; |
| 1333 | }; |
| 1334 | } |
| 1335 | }); |
| 1336 | |
| 1337 | // node_modules/cross-spawn/lib/util/readShebang.js |
nothing calls this directly
no test coverage detected
searching dependent graphs…