Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Oct 30, 2024
1 parent 52120e7 commit 94d1ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/micronaut/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ export default class extends BaseApplicationGenerator {
if (application.prodDatabaseTypeMysql) {
this.editFile(`${application.dockerServicesDir}mysql.yml`, content =>
content
.replace(/test: [^\n]*/, 'test: [\'CMD-SHELL\', \'mysql -e "SHOW DATABASES;" && sleep 5\']')
.replace('timeout: 5s', 'timeout: 10s')
.replace(/test: [^\n]*/, "test: ['CMD-SHELL', 'mysql -e \"SHOW DATABASES;\" && sleep 5']")
.replace('timeout: 5s', 'timeout: 10s'),
);
}
},
Expand Down

0 comments on commit 94d1ffc

Please sign in to comment.