From 4cb42bc560af70e04ca95d631da00d81d1957964 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Mon, 7 Mar 2022 15:03:35 +1100 Subject: [PATCH] gulpfile fix --- gulpfile.js | 2 +- package-lock.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index f867c164..c1295633 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -154,7 +154,7 @@ async function wipe() { const db = Mongo.db; const collectionNames = ['accounts', 'bans', 'custompages', 'boards', 'captcha', 'files', - 'modlog','news', 'posts', 'poststats', 'ratelimit', 'bypass']; + 'modlog','news', 'posts', 'poststats', 'ratelimit', 'bypass', 'roles']; for (const name of collectionNames) { //drop collection so gulp reset can be run again. ignores error of dropping non existing collection first time await db.dropCollection(name).catch(e => {}); diff --git a/package-lock.json b/package-lock.json index f20f15a0..4902f24b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jschan", - "version": "0.3.2", + "version": "0.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jschan", - "version": "0.3.2", + "version": "0.4.0", "license": "AGPL-3.0-only", "dependencies": { "@fatchan/express-fileupload": "^1.3.1",