Skip to content

Commit

Permalink
Fix the mount directory in the PHPUnit container.
Browse files Browse the repository at this point in the history
  • Loading branch information
pento committed Aug 20, 2019
1 parent 60da891 commit 62a1880
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/scripts/scripts/env/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ services.forEach( ( service ) => {
return volume.endsWith( '/plugins/gutenberg' );
} );

const gutenbergVolume = ( service === 'phpunit' ) ?
normalize( cwd() ) + ':/wordpress-develop/${LOCAL_DIR-src}/wp-content/plugins/gutenberg' :
normalize( cwd() ) + ':/var/www/${LOCAL_DIR-src}/wp-content/plugins/gutenberg';
const gutenbergVolume = normalize( cwd() ) + ':/var/www/${LOCAL_DIR-src}/wp-content/plugins/gutenberg';

if ( index > -1 ) {
compose.services[ service ].volumes[ index ] = gutenbergVolume;
Expand Down

0 comments on commit 62a1880

Please sign in to comment.