(entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[])
| 297 | } |
| 298 | |
| 299 | async lint(entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[]): Promise<void> { |
| 300 | await super.lint(entryFile, outputDirectory, toolsPaths); |
| 301 | |
| 302 | const hasLibsql = (await this.deps.checkDependencies(['@mastra/libsql'])) === `ok`; |
| 303 | |
| 304 | if (hasLibsql) { |
| 305 | this.logger.error( |
| 306 | 'Cloudflare Deployer does not support @libsql/client (which may have been installed by @mastra/libsql) as a dependency. Please use Cloudflare D1 instead: @mastra/cloudflare-d1.', |
| 307 | ); |
| 308 | process.exit(1); |
| 309 | } |
| 310 | } |
| 311 | } |
nothing calls this directly
no test coverage detected