(target: string)
| 126 | } |
| 127 | |
| 128 | async function resolveTargetDirectory(target: string) { |
| 129 | const file = targetPath(target) |
| 130 | if (!file) return |
| 131 | const stat = await Filesystem.statAsync(file) |
| 132 | if (!stat?.isDirectory()) return |
| 133 | return file |
| 134 | } |
| 135 | |
| 136 | async function resolvePluginEntrypoint(spec: string, target: string, kind: PluginKind, pkg?: PluginPackage) { |
| 137 | const source = pluginSource(spec) |
no test coverage detected