File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ docs/api/
2626
2727dw.json
2828dw.json *
29+ .env
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2
55 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
66 */
7+
8+ // Load .env file if present (Node.js native support)
9+ try {
10+ process . loadEnvFile ( ) ;
11+ } catch {
12+ // .env file not found or not readable, continue without it
13+ }
14+
715import { execute } from '@oclif/core' ;
816
917await execute ( { development : true , dir : import . meta. url } ) ;
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2
55 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
66 */
7+
8+ // Load .env file if present (Node.js native support)
9+ try {
10+ process . loadEnvFile ( ) ;
11+ } catch {
12+ // .env file not found or not readable, continue without it
13+ }
14+
715import { execute } from '@oclif/core' ;
816
917await execute ( { dir : import . meta. url } ) ;
You can’t perform that action at this time.
0 commit comments