File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3434 import os
3535 base_path = os.environ.get('BASE_PATH', 'src/environments/')
3636 with open(base_path + "keys.ts", "w") as fileWithKeys:
37- fileWithKeys.write('export const SCOPES = ') + str(os.environ['SCOPES']).split(",") + ';';
38- fileWithKeys.write('\nexport const CLIENT_ID = ' + os.environ['CLIENT_ID']) + ';';
39- fileWithKeys.write('\nexport const AUTHORITY = ' + os.environ['AUTHORITY']) + ';';
37+ scopes = str(os.environ['SCOPES']).split(",")
38+ client_id = os.environ['CLIENT_ID']
39+ authority = os.environ['AUTHORITY']
40+ fileWithKeys.write(f'export const SCOPES = {scopes};')
41+ fileWithKeys.write(f'\nexport const CLIENT_ID = {client_id};')
42+ fileWithKeys.write(f'\nexport const AUTHORITY = {authority};')
4043
4144 - name : Run the test
4245 run : npm run ci-test --if-present
You can’t perform that action at this time.
0 commit comments