Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions build-dev.sh

This file was deleted.

2 changes: 0 additions & 2 deletions build-prod.sh

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}'",
Expand Down
1 change: 0 additions & 1 deletion src-ts/config/environments/environment.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ 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
if (!config.LOGGING?.PUBLIC_TOKEN || !config.LOGGING?.SERVICE) {
return
}

console.debug('logging env', config.ENV)
datadogLogs.init({
clientToken: config.LOGGING.PUBLIC_TOKEN,
env: config.ENV,
service: config.LOGGING.SERVICE,
silentMultipleInit: true,
})

info(`initialized logging for ${config.ENV} test`)
info(`initialized logging for ${config.ENV}`)
}

export function error(message: string, messageContext?: object): void {
Expand Down
2 changes: 1 addition & 1 deletion src-ts/tools/work/work-not-logged-in/WorkNotLoggedIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const WorkNotLoggedIn: FC<{}> = () => {
<div className={styles.rightContent}>

<h2 className={styles.title}>
TOPCODER put our great talent to work for you
put our great talent to work for you
</h2>

<p className={styles.description}>
Expand Down