Skip to content

Commit 1ae88b7

Browse files
Merge pull request #143 from topcoder-platform/PROD-2145_build-var
PROd-2145 Build fix to -> dev
2 parents c186ed3 + 5e2a27a commit 1ae88b7

File tree

6 files changed

+3
-12
lines changed

6 files changed

+3
-12
lines changed

build-dev.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

build-prod.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"scripts": {
66
"start": "sh start-ssl.sh",
77
"start:bsouza": "sh start-ssl-bsouza.sh",
8-
"build": "sh build-dev.sh",
9-
"build:prod": "sh build-prod.sh",
8+
"build": "yarn react-app-rewired build",
109
"lint": "tslint 'src-ts/**/*.{ts,tsx}'",
1110
"lint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix",
1211
"eslint": "eslint 'src/**/*.{js,jsx}'",

src-ts/config/environments/environment.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { EnvironmentConfigProd } from './environment.prod.config'
88

99
function getEnvironmentConfig(): GlobalConfig {
1010

11-
console.debug('REACT_APP_HOST_ENV', process.env.REACT_APP_HOST_ENV)
1211
switch (process.env.REACT_APP_HOST_ENV) {
1312

1413
case AppHostEnvironment.bsouza:

src-ts/lib/functions/logging-functions/logging.functions.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@ import { GlobalConfig } from '../../global-config.model'
44

55
export function initialize(config: GlobalConfig): void {
66

7-
console.debug('init logging', config.LOGGING)
8-
97
// if we don't have a token and service,
108
// logging isn't supported in this environment,
119
// so don't initialize anything
1210
if (!config.LOGGING?.PUBLIC_TOKEN || !config.LOGGING?.SERVICE) {
1311
return
1412
}
1513

16-
console.debug('logging env', config.ENV)
1714
datadogLogs.init({
1815
clientToken: config.LOGGING.PUBLIC_TOKEN,
1916
env: config.ENV,
2017
service: config.LOGGING.SERVICE,
2118
silentMultipleInit: true,
2219
})
2320

24-
info(`initialized logging for ${config.ENV} test`)
21+
info(`initialized logging for ${config.ENV}`)
2522
}
2623

2724
export function error(message: string, messageContext?: object): void {

src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const WorkNotLoggedIn: FC<{}> = () => {
6565
<div className={styles.rightContent}>
6666

6767
<h2 className={styles.title}>
68-
TOPCODER put our great talent to work for you
68+
put our great talent to work for you
6969
</h2>
7070

7171
<p className={styles.description}>

0 commit comments

Comments
 (0)