Skip to content

Commit 58f2706

Browse files
committed
quotes fixed
1 parent ab39a18 commit 58f2706

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.github/workflows/time-tracker-ui-cd-stage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
ARM_CLIENT_SECRET: ${{secrets.TF_ARM_CLIENT_SECRET}}
1616
ARM_SUBSCRIPTION_ID: ${{secrets.TF_ARM_SUBSCRIPTION_ID}}
1717
ARM_TENANT_ID: ${{secrets.TF_ARM_TENANT_ID}}
18-
DOCKER_BUILDKIT: 1
18+
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3
@@ -38,7 +38,6 @@ jobs:
3838
- name: Build the docker image
3939
run: |-
4040
docker build \
41-
--secret id=mysecret,src=.stage.env \
4241
--target production -t timetracker_ui \
4342
.
4443

src/environments/environment.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
// This file can be replaced during build by using the `fileReplacements` array.
2-
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3-
// The list of file replacements can be found in `angular.json`.
1+
// This file can be replaced during build by using the 'fileReplacements' array.
2+
// 'ng build --prod' replaces 'environment.ts' with 'environment.prod.ts'.
3+
// The list of file replacements can be found in 'angular.json'.
44
import { EnvironmentType } from './enum';
55

66
export const environment = {
77
production: EnvironmentType.TT_DEV,
8-
timeTrackerApiUrl: process.env[`API_URL`],
8+
timeTrackerApiUrl: process.env['API_URL'],
99
stackexchangeApiUrl: 'https://api.stackexchange.com',
1010
};
1111

1212

1313

14-
export const AUTHORITY = process.env[`AUTHORITY`];
15-
export const CLIENT_ID = process.env[`CLIENT_ID`];
16-
export const CLIENT_URL = process.env[`CLIENT_URL`];
17-
export const SCOPES = process.env[`SCOPES`].split(`,`);
14+
export const AUTHORITY = process.env['AUTHORITY'];
15+
export const CLIENT_ID = process.env['CLIENT_ID'];
16+
export const CLIENT_URL = process.env['CLIENT_URL'];
17+
export const SCOPES = process.env['SCOPES'].split(',');
1818
export const ITEMS_PER_PAGE = 5;
19-
export const STACK_EXCHANGE_ID = process.env[`STACK_EXCHANGE_ID`];
20-
export const STACK_EXCHANGE_ACCESS_TOKEN = process.env[`STACK_EXCHANGE_ACCESS_TOKEN`];
21-
export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = process.env[`AZURE_APP_CONFIGURATION_CONNECTION_STRING`];
19+
export const STACK_EXCHANGE_ID = process.env['STACK_EXCHANGE_ID'];
20+
export const STACK_EXCHANGE_ACCESS_TOKEN = process.env['STACK_EXCHANGE_ACCESS_TOKEN'];
21+
export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = process.env['AZURE_APP_CONFIGURATION_CONNECTION_STRING'];
2222
export const DATE_FORMAT = 'yyyy-MM-dd';
2323
export const DATE_FORMAT_YEAR = 'YYYY-MM-DD';
2424
export const GROUPS = {
@@ -39,7 +39,7 @@ export const ROLES = {
3939

4040
/*
4141
* For easier debugging in development mode, you can import the following file
42-
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
42+
* to ignore zone related error stack frames such as 'zone.run', 'zoneDelegate.invokeTask'.
4343
*
4444
* This import should be commented out in production mode because it will have a negative impact
4545
* on performance if an error is thrown.

0 commit comments

Comments
 (0)