Make WordPress Core

Changeset 62158


Ignore:
Timestamp:
03/27/2026 01:14:32 AM (34 hours ago)
Author:
desrosj
Message:

Build/Test Tools: Remove unintentional change in [62157].

This removes a change that was unintentionally included in the previous commit.

Reviewed by peterwilsoncc.

Unprops desrosj.
Props peterwilsoncc.
Fixes #64925. See #64393.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/gutenberg/copy.js

    r62157 r62158  
    2626const args = process.argv.slice( 2 );
    2727const buildDirArg = args.find( ( arg ) => arg.startsWith( '--build-dir=' ) );
    28 const buildTarget = 'src';
     28const buildTarget = buildDirArg
     29    ? buildDirArg.split( '=' )[ 1 ]
     30    : args.includes( '--dev' )
     31    ? 'src'
     32    : 'build';
    2933
    3034const wpIncludesDir = path.join( rootDir, buildTarget, 'wp-includes' );
Note: See TracChangeset for help on using the changeset viewer.