(cb)
| 47 | } |
| 48 | |
| 49 | function loadESMIfNeeded(cb) { |
| 50 | const hasModulePreImport = getOptionValue('--import').length > 0; |
| 51 | |
| 52 | if (hasModulePreImport) { |
| 53 | require('internal/modules/run_main').runEntryPointWithESMLoader(cb); |
| 54 | return; |
| 55 | } |
| 56 | cb(); |
| 57 | } |
| 58 | |
| 59 | async function checkSyntax(source, filename) { |
| 60 | let format; |
no test coverage detected
searching dependent graphs…