From 3731482186031a3cd133dc455064e85d3d58e877 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 12 Apr 2021 20:16:34 +0100 Subject: [PATCH] Fix ci issues --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 3f54ecb..383c30c 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ function randomBunny(subreddit, sortBy, cb) { } function promise(subreddit, sortBy) { - return new Promise((resolve, reject) => { + return new Promise((resolve) => { // If the sortable list doesn't include sortBy, default to 'hot' if (!sortable.includes(sortBy)) sortBy = 'hot'; @@ -118,4 +118,4 @@ function getRandom(min, max) { module.exports = { randomBunny, promise, -} \ No newline at end of file +}; \ No newline at end of file