Skip to content

Commit

Permalink
WIP: disable logger
Browse files Browse the repository at this point in the history
  For test purposes
  • Loading branch information
taratatach committed Oct 30, 2024
1 parent ade83c8 commit d649b67
Show file tree
Hide file tree
Showing 5 changed files with 297 additions and 279 deletions.
8 changes: 5 additions & 3 deletions core/utils/lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const EventEmitter = require('events')

/*::
import type { Logger } from './logger'
// import type { Logger } from './logger'
type State = 'done-stop' | 'will-start' | 'done-start' | 'will-stop'
*/
Expand All @@ -15,10 +15,12 @@ class LifeCycle extends EventEmitter {
/*::
currentState: State
blockedFor: ?string
log: Logger
// log: Logger
log: any
*/

constructor(logger /*: Logger */) {
// constructor(logger /*: Logger */) {
constructor(logger /*: any */) {
super()
this.currentState = 'done-stop'
this.blockedFor = null
Expand Down
Loading

0 comments on commit d649b67

Please sign in to comment.