Open marvingrieger opened 3 years ago
module.parent is deprecated https://github.com/marvingrieger/ioBroker.haassohn/blob/c3dfc6c00485e27594ad94de982e6d9826221990/main.js#L487, better check module === require.main
module.parent
module === require.main
Originally posted by @foxriver76 in https://github.com/ioBroker/ioBroker.repositories/issues/1054#issuecomment-761801121
module.parent
is deprecated https://github.com/marvingrieger/ioBroker.haassohn/blob/c3dfc6c00485e27594ad94de982e6d9826221990/main.js#L487, better checkmodule === require.main
Originally posted by @foxriver76 in https://github.com/ioBroker/ioBroker.repositories/issues/1054#issuecomment-761801121