From 25b01891315bd2fc533f3836f06af03b0d289542 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Tue, 6 Jan 2026 17:30:50 -0500 Subject: [PATCH] Fix lint --- structures/JeopardyScrape.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/structures/JeopardyScrape.js b/structures/JeopardyScrape.js index 6c9ecdfb..6b85d801 100644 --- a/structures/JeopardyScrape.js +++ b/structures/JeopardyScrape.js @@ -76,15 +76,15 @@ module.exports = class JeopardyScrape { this.seasons = seasons; this.clues = await this.importClues(); this.imported = true; - return file; + return this; } importClues() { - const pipeline = fs.createReadStream(path.join(__dirname, '..', 'jeopardy.json'), { encoding: 'utf8'}) + const pipeline = fs.createReadStream(path.join(__dirname, '..', 'jeopardy.json'), { encoding: 'utf8' }) .pipe(parser()) .pipe(pick({ filter: 'clues' })) .pipe(streamArray()); - pipeline.on('data', ({ key, value }) => this.clues.push(value)); + pipeline.on('data', ({ value }) => this.clues.push(value)); return new Promise(res => { pipeline.on('end', () => res(this.clues)); });