From bfa56d657caec9dab2db4c7a323d3c9f4d56d1c5 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 12 Apr 2021 20:17:46 +0100 Subject: [PATCH] Fix ci issues 2 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 383c30c..7b59cfe 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ function randomBunny(subreddit, sortBy, cb) { } function promise(subreddit, sortBy) { - return new Promise((resolve) => { + return new Promise(resolve => { // If the sortable list doesn't include sortBy, default to 'hot' if (!sortable.includes(sortBy)) sortBy = 'hot';