From 24d2da237e73f1936b5b0d215c72dd83e26a9005 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 28 Oct 2019 19:09:42 -0400 Subject: [PATCH] rm console log statements --- src/commands/cwg.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/commands/cwg.ts b/src/commands/cwg.ts index c6ffc04..11547cc 100644 --- a/src/commands/cwg.ts +++ b/src/commands/cwg.ts @@ -101,8 +101,6 @@ export default class CWG extends Command { if (!await this.client.db.Account.exists({ userID: account.userID })) throw new Error(`Cannot find account ${account.userID}.`); await fs.access(x509Certificate.cert, fs.constants.R_OK); await fs.access(x509Certificate.key, fs.constants.R_OK); - const staticFiles = await fs.readdir('../static') - console.log(staticFiles); let cfg = await fs.readFile('../static/nginx.conf', { encoding: 'utf8' }); cfg = cfg.replace(/\[DOMAIN]/g, domain); cfg = cfg.replace(/\[PORT]/g, String(port));