Skip to content

Commit 56eee51

Browse files
committed
docs: fix the given API usage example
1 parent 52f571f commit 56eee51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const result = await runner.bisect('10.0.0', '13.1.7', path_or_gist_or_git_repo)
8181
import { Installer } from 'fiddle-core';
8282

8383
const installer = new Installer();
84-
installer.on('state-changed', (version, state) => {
84+
installer.on('state-changed', ({version, state}) => {
8585
console.log(`Version "${version}" state changed: "${state}"`);
8686
});
8787

0 commit comments

Comments
 (0)