(opts)
| 32 | return fsExtra.readFileSync(filePath, 'utf8') |
| 33 | }, |
| 34 | glob(opts) { |
| 35 | if (!opts.include) return [] |
| 36 | |
| 37 | const ignore = opts.exclude ?? [] |
| 38 | if (!ignore.length) { |
| 39 | ignore.push('**/*.d.ts') |
| 40 | } |
| 41 | |
| 42 | return glob.sync(opts.include, { cwd: opts.cwd, ignore, absolute: true }) |
| 43 | }, |
| 44 | writeFile: fsExtra.writeFile, |
| 45 | writeFileSync: fsExtra.writeFileSync, |
| 46 | readDirSync: fsExtra.readdirSync, |
nothing calls this directly
no outgoing calls
no test coverage detected