diff --git a/build-dev.sh b/build-dev.sh deleted file mode 100644 index 3785e177f..000000000 --- a/build-dev.sh +++ /dev/null @@ -1,2 +0,0 @@ -export REACT_APP_HOST_ENV=dev -yarn react-app-rewired build diff --git a/build-prod.sh b/build-prod.sh deleted file mode 100644 index d2af5746f..000000000 --- a/build-prod.sh +++ /dev/null @@ -1,2 +0,0 @@ -export REACT_APP_HOST_ENV=prod -yarn react-app-rewired build diff --git a/package.json b/package.json index 0317b2c88..afde5d6ec 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "scripts": { "start": "sh start-ssl.sh", "start:bsouza": "sh start-ssl-bsouza.sh", - "build": "sh build-dev.sh", - "build:prod": "sh build-prod.sh", + "build": "yarn react-app-rewired build", "lint": "tslint 'src-ts/**/*.{ts,tsx}'", "lint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix", "eslint": "eslint 'src/**/*.{js,jsx}'", diff --git a/src-ts/config/environments/environment.config.ts b/src-ts/config/environments/environment.config.ts index 70dab5efb..fd0ba6c7e 100644 --- a/src-ts/config/environments/environment.config.ts +++ b/src-ts/config/environments/environment.config.ts @@ -8,7 +8,6 @@ import { EnvironmentConfigProd } from './environment.prod.config' function getEnvironmentConfig(): GlobalConfig { - console.debug('REACT_APP_HOST_ENV', process.env.REACT_APP_HOST_ENV) switch (process.env.REACT_APP_HOST_ENV) { case AppHostEnvironment.bsouza: diff --git a/src-ts/lib/functions/logging-functions/logging.functions.ts b/src-ts/lib/functions/logging-functions/logging.functions.ts index da5623097..54bf9f0de 100644 --- a/src-ts/lib/functions/logging-functions/logging.functions.ts +++ b/src-ts/lib/functions/logging-functions/logging.functions.ts @@ -4,8 +4,6 @@ import { GlobalConfig } from '../../global-config.model' export function initialize(config: GlobalConfig): void { - console.debug('init logging', config.LOGGING) - // if we don't have a token and service, // logging isn't supported in this environment, // so don't initialize anything @@ -13,7 +11,6 @@ export function initialize(config: GlobalConfig): void { return } - console.debug('logging env', config.ENV) datadogLogs.init({ clientToken: config.LOGGING.PUBLIC_TOKEN, env: config.ENV, @@ -21,7 +18,7 @@ export function initialize(config: GlobalConfig): void { silentMultipleInit: true, }) - info(`initialized logging for ${config.ENV} test`) + info(`initialized logging for ${config.ENV}`) } export function error(message: string, messageContext?: object): void { diff --git a/src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx b/src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx index 62dad86c0..fc6c6f1f0 100644 --- a/src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx +++ b/src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx @@ -65,7 +65,7 @@ const WorkNotLoggedIn: FC<{}> = () => {

- TOPCODER put our great talent to work for you + put our great talent to work for you