File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1- require ( 'dotenv' ) . config ( {
2- path : './web-app/.env' ,
3- } )
4-
51import { getWorkspaceRoot } from './services/workspace'
62import * as os from 'os'
73
84// CodeRoad version
9- export const VERSION : string = process . env . npm_package_version || 'unknown'
5+ export const VERSION = 'unknown'
106
117// Node env
128export type Env = 'test' | 'local' | 'development' | 'production'
139// @ts -ignore
1410export const NODE_ENV : Env = process . env . NODE_ENV || 'production'
1511
1612// toggle logging in development
17- export const LOG : boolean = ( process . env . REACT_APP_LOG || '' ) . toLowerCase ( ) === 'true'
13+ export const LOG = false
1814
1915// error logging tool
20- export const SENTRY_DSN : string | null = process . env . SENTRY_DSN || null
16+ export const SENTRY_DSN : string | null = null
2117
2218// uri path to the users project workspace
2319export const WORKSPACE_ROOT : string = getWorkspaceRoot ( )
You can’t perform that action at this time.
0 commit comments