From ff0b9aeeba1cc98b261c99bec809cb626ca535e9 Mon Sep 17 00:00:00 2001 From: beefchimi Date: Tue, 30 Jul 2024 12:12:06 -0400 Subject: [PATCH] fix up into docs --- docs/examples.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/examples.md b/docs/examples.md index e577340..2aa36b5 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -221,6 +221,7 @@ const isPlaying = stack.playing; // Or get a string value for the current state. const currentState = stack.state; +// eslint-disable-next-line no-console stack.on('state', (currentState) => console.log(currentState)); ``` @@ -465,6 +466,7 @@ if (sound) { }); sound.on('ended', ({id}) => { + // eslint-disable-next-line no-console console.log(`Sound ${id} has been stopped at ${completion} completion`); }); }