From 759d93dc198a3cc8c5265245c0144efa5435682b Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Fri, 22 Apr 2022 15:04:21 -0500 Subject: Turn off usage of 'debug' npm package using with electron-16 (fixes #17) --- src/features/communityRecipes/store.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/features/communityRecipes') diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts index 407a63860..afd7d0f01 100644 --- a/src/features/communityRecipes/store.ts +++ b/src/features/communityRecipes/store.ts @@ -1,7 +1,8 @@ import { computed } from 'mobx'; import { FeatureStore } from '../utils/FeatureStore'; -const debug = require('debug')('Ferdium:feature:communityRecipes:store'); +// TODO: Go back to 'debug' from 'console.log' when https://github.com/electron/electron/issues/31689 is fixed +// const debug = require('debug')('Ferdium:feature:communityRecipes:store'); export class CommunityRecipesStore extends FeatureStore { stores: any; @@ -9,13 +10,13 @@ export class CommunityRecipesStore extends FeatureStore { actions: any; start(stores: any, actions: any) { - debug('start'); + console.log('start'); this.stores = stores; this.actions = actions; } stop() { - debug('stop'); + console.log('stop'); super.stop(); } -- cgit v1.2.3-54-g00ecf