- Timestamp:
- 07/28/2026 04:33:51 PM (6 weeks ago)
- File:
-
- 1 edited
-
trunk/tools/local-env/scripts/start.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/local-env/scripts/start.js
r61459 r62871 5 5 const { execSync, spawnSync } = require( 'child_process' ); 6 6 const local_env_utils = require( './utils' ); 7 const { co nstants, copyFile} = require( 'node:fs' );7 const { copyFileSync, existsSync } = require( 'node:fs' ); 8 8 9 9 // Copy the default .env file when one is not present. 10 copyFile( '.env.example', '.env', constants.COPYFILE_EXCL, () =>{11 co nsole.log( '.env file already exists. .env.example was not copied.' );12 } );10 if ( ! existsSync( '.env' ) ) { 11 copyFileSync( '.env.example', '.env' ); 12 } 13 13 14 14 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)