Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: init event #1293

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions src/core/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = (self) => {
(cb) => {
self.log('initialized')
self.state.initialized()
self.emit('init');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will failing linting (semicolons)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that. Linting already reports 87 problems for me in master so that one got lost in the noise. Pushed a fix.

cb(null, true)
}
], (err, res) => {
Expand Down
1 change: 1 addition & 0 deletions src/core/components/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = function init (self) {
return callback(err)
}

self.log('initialized')
self.state.initialized()
self.emit('init')
callback(null, res)
Expand Down