Skip to content

Commit 02fa79e

Browse files
committed
fixed conflicts
1 parent 7d8d81d commit 02fa79e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/structures/Manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
SponsorBlockChapterStarted,
55
SponsorBlockSegmentSkipped,
66
SponsorBlockSegmentsLoaded,
7-
// StateTypes,
7+
StateTypes,
88
Structure,
99
TrackData,
1010
TrackEndEvent,
@@ -235,7 +235,7 @@ export class Manager extends EventEmitter {
235235
const serializedPlayer = this.serializePlayer(player) as unknown as Player;
236236

237237
// Write the serialized player state to the JSON file
238-
fs.writeFileSync(playerStateFilePath, JSON.stringify(serializedPlayer, null, 2), "utf-8");
238+
fs.writeFile(playerStateFilePath, JSON.stringify(serializedPlayer, null, 2), "utf-8");
239239

240240
// Emit a debug event to indicate the player state has been saved
241241
this.emit("debug", `[MANAGER] Saving player: ${guildId} at location: ${playerStateFilePath}`);

0 commit comments

Comments
 (0)