()
| 98 | } |
| 99 | |
| 100 | function isMain(): boolean { |
| 101 | let entry = process.argv[1]; |
| 102 | if (!entry) return false; |
| 103 | try { |
| 104 | return realpathSync(entry) === realpathSync(fileURLToPath(import.meta.url)); |
| 105 | } catch { |
| 106 | return false; |
| 107 | } |
| 108 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…