Skip to content

Commit f4d6575

Browse files
committed
Apply prettier formatting to docker.js
1 parent b8b1425 commit f4d6575

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/local-env/scripts/docker.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* jshint node:true */
22

3-
const dotenv = require( 'dotenv' );
3+
const dotenv = require( 'dotenv' );
44
const dotenvExpand = require( 'dotenv-expand' );
55
const { spawnSync } = require( 'child_process' );
66
const local_env_utils = require( './utils' );
@@ -9,7 +9,7 @@ dotenvExpand.expand( dotenv.config() );
99

1010
const composeFiles = local_env_utils.get_compose_files();
1111

12-
if (process.argv.includes('--coverage-html')) {
12+
if ( process.argv.includes( '--coverage-html' ) ) {
1313
process.env.LOCAL_PHP_XDEBUG = 'true';
1414
process.env.LOCAL_PHP_XDEBUG_MODE = 'coverage';
1515
}
@@ -21,8 +21,10 @@ try {
2121
'docker',
2222
[
2323
'compose',
24-
...composeFiles.map( ( composeFile ) => [ '-f', composeFile ] ).flat(),
25-
...process.argv.slice( 2 )
24+
...composeFiles
25+
.map( ( composeFile ) => [ '-f', composeFile ] )
26+
.flat(),
27+
...process.argv.slice( 2 ),
2628
],
2729
{ stdio: 'inherit' }
2830
);

0 commit comments

Comments
 (0)