()
| 49 | } |
| 50 | |
| 51 | protected getDefaultGenerator(): IMigrationGenerator { |
| 52 | if (this.options.emit === 'js' || this.options.emit === 'cjs') { |
| 53 | return new JSMigrationGenerator(this.driver, this.config.getNamingStrategy(), this.options); |
| 54 | } |
| 55 | |
| 56 | return new TSMigrationGenerator(this.driver, this.config.getNamingStrategy(), this.options); |
| 57 | } |
| 58 | |
| 59 | private async getSnapshotPath(): Promise<string> { |
| 60 | if (!this.#snapshotPath) { |
no test coverage detected