Skip to content

Commit

Permalink
fix example (#96)
Browse files Browse the repository at this point in the history
typo miss semicolon
  • Loading branch information
liux-pro authored Apr 3, 2022
1 parent 14582c5 commit 947cecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ The **gamedatablock** event provides you with all blocks that make up the actual

```javascript
const ReplayParser = require("w3gjs/dist/lib/parsers/ReplayParser").default;
const fs = require("fs")(async () => {
const fs = require("fs");
(async () => {
const buffer = fs.readFileSync("./reforged1.w3g");
const parser = new ReplayParser();
parser.on("basic_replay_information", (info) => console.log(info));
Expand Down

0 comments on commit 947cecc

Please sign in to comment.