diff --git a/README.md b/README.md index d9d1b73..6b4d162 100644 --- a/README.md +++ b/README.md @@ -415,7 +415,7 @@ bree.on('worker created', (name) => { bree.on('worker deleted', (name) => { console.log('worker deleted', name); - console.log(!bree.worker.has(name)); + console.log(!bree.workers.has(name)); }); ```