Fix ci issues 2

This commit is contained in:
Ethan Lane 2021-04-12 20:17:46 +01:00
parent 3731482186
commit bfa56d657c

View file

@ -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';