Skip to content

Commit

Permalink
fix small prod issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dispherical committed Jun 25, 2024
1 parent e167523 commit 1058709
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/pull.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ const fs = require("node:fs");
*/
module.exports = async function ({ app, client }) {
var text = "";
let sPromises = fs
.readdirSync("./sections")
var sFiles = fs
.readdirSync("./sections")
let sPromises = sFiles
.filter((str) => str.endsWith(".js"))
.sort()
.map(async (fn) => {
Expand Down

0 comments on commit 1058709

Please sign in to comment.