Changeset 63425 for branches/6.7
- Timestamp:
- 09/01/2026 05:56:56 PM (5 days ago)
- Location:
- branches/6.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/local-env/scripts/start.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.7
-
branches/6.7/tools/local-env/scripts/start.js
r59309 r63425 3 3 const { execSync } = require( 'child_process' ); 4 4 const local_env_utils = require( './utils' ); 5 const { co nstants, copyFile} = require( 'node:fs' );5 const { copyFileSync, existsSync } = require( 'node:fs' ); 6 6 7 7 // Copy the default .env file when one is not present. 8 copyFile( '.env.example', '.env', constants.COPYFILE_EXCL, (e) =>{9 co nsole.log( '.env file already exists. .env.example was not copied.' );10 } );8 if ( ! existsSync( '.env' ) ) { 9 copyFileSync( '.env.example', '.env' ); 10 } 11 11 12 12 dotenvExpand.expand( dotenv.config() );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)