File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11const { writeFile } = require ( 'fs' ) ;
2- require ( 'dotenv' ) . config ( ) ;
32
43const pathJs = `./src/environments/keys.ts`
54const contentKeys =
6- `export const AUTHORITY = '${ process . env . AUTHORITY } ';
7- export const CLIENT_ID = '${ process . env . CLIENT_ID } ';
8- export const SCOPES = ['${ process . env . SCOPES } '];
9- export const STACK_EXCHANGE_ID = '${ process . env . STACK_EXCHANGE_ID } ';
10- export const STACK_EXCHANGE_ACCESS_TOKEN = '${ process . env . STACK_EXCHANGE_ACCESS_TOKEN } ';
11- export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = '${ process . env . AZURE_APP_CONFIGURATION_CONNECTION_STRING } ';
5+ `export const AUTHORITY = '${ process . env [ " AUTHORITY" ] } ';
6+ export const CLIENT_ID = '${ process . env [ " CLIENT_ID" ] } ';
7+ export const SCOPES = ['${ process . env [ " SCOPES" ] } '];
8+ export const STACK_EXCHANGE_ID = '${ process . env [ " STACK_EXCHANGE_ID" ] } ';
9+ export const STACK_EXCHANGE_ACCESS_TOKEN = '${ process . env [ " STACK_EXCHANGE_ACCESS_TOKEN" ] } ';
10+ export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = '${ process . env [ " AZURE_APP_CONFIGURATION_CONNECTION_STRING" ] } ';
1211` ;
1312
1413writeFile ( pathJs , contentKeys , function ( err ) {
You can’t perform that action at this time.
0 commit comments