Commit 9ba53f73 authored by Christopher Fullarton's avatar Christopher Fullarton

Disables console logs again on prod environments

parent 4cf5eba3
......@@ -170,8 +170,10 @@ export function markedOptionsFactory(): MarkedOptions {
})
export class RootModule {
constructor() {
if (false && environment.production) {
(window as any).console = {
if (environment.production) {
(
window as any
).console = {
log: function (): void {},
info: function (): void {},
trace: function (): void {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment