reciple 1.0.9 → 1.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/bin.js +1 -2
  2. package/package.json +1 -1
package/bin/bin.js CHANGED
@@ -14,8 +14,7 @@ const Config_1 = require("./reciple/classes/Config");
14
14
  const Client_1 = require("./reciple/classes/Client");
15
15
  const fs_1 = require("fs");
16
16
  const fallout_utility_1 = require("fallout-utility");
17
- const allowedFiles = ['node_modules', 'reciple.yml', 'package.json', 'package.lock.json'];
18
- if ((0, fs_1.readdirSync)('./').filter(f => !f.startsWith('.') && allowedFiles.indexOf(f)).length > 0 && !(0, fs_1.existsSync)('./reciple.yml')) {
17
+ if ((0, fs_1.readdirSync)('./').length > 0 && !(0, fs_1.existsSync)('./reciple.yml')) {
19
18
  const ask = (0, fallout_utility_1.input)('This directory does not contain reciple.yml. Would you like to init axis here? [y/n] ');
20
19
  if (ask !== 'y')
21
20
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "1.0.9",
3
+ "version": "1.0.89",
4
4
  "description": "A Discord.js bot",
5
5
  "author": "FalloutStudios",
6
6
  "license": "GPL-3.0",