Skip to content

Commit

Permalink
fix: installing PostgreSQL instead of MySQL when PostgreSQL Selected
Browse files Browse the repository at this point in the history
  • Loading branch information
sharafdin committed Feb 14, 2024
1 parent 309fc91 commit 3a07a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yonode/src/lib/repoConditions.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const repoConditions = () => {
case options.language_type === 'JavaScript' && options.database_type === 'PostgreSQL' && options.orm_type === 'Sequelize' && options.auth === false:
cloneRepo(projectName, 'JS-PostgreSQL-Sequelize-NoAuth-Template');
case options.language_type === 'JavaScript' && options.database_type === 'PostgreSQL' && options.orm_type === 'TypeORM' && options.auth === false:
cloneRepo(projectName, 'JS-MySQL-TypeORM-NoAuth-Template');
cloneRepo(projectName, 'JS-PostgreSQL-TypeORM-NoAuth-Template');
break;
default:
throw new Error ('unsupported option')
Expand Down

0 comments on commit 3a07a73

Please sign in to comment.