Skip to content

Commit 7db556c

Browse files
authored
Fix multi-line comment indentation (joomla#44368)
1 parent 66344af commit 7db556c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/System/plugins/db.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ function queryTestDB(joomlaQuery, config) {
9494
return new Promise((resolve, reject) => {
9595
// Create the connection and connect
9696
let connectionConfig;
97-
/* Verify if the connection is a Unix socket by checking for the "unix:/" prefix.
98-
* MariaDB and MySQL JS drivers do not support this prefix, so it must be removed.
99-
* We standardise the use of this prefix with the PHP driver by handling it here.
100-
*/
97+
/* Verify if the connection is a Unix socket by checking for the "unix:/" prefix.
98+
* MariaDB and MySQL JS drivers do not support this prefix, so it must be removed.
99+
* We standardise the use of this prefix with the PHP driver by handling it here.
100+
*/
101101
if (config.env.db_host.startsWith('unix:/')) {
102102
// If the host is a Unix socket, extract the socket path
103103
connectionConfig = {

0 commit comments

Comments
 (0)