diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 16:09:14 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 16:09:14 -0400 |
commit | 2c0d76634e4b2da7180c73a64f9a860303b010ef (patch) | |
tree | 111bb0004d2c1eff21fcd949da6c7ca0a2e6ac00 | |
parent | be38dd53d2816071932e9ce8454a30de21920271 (diff) | |
parent | cd865108ba4f3091018601a50b46b72fbe0d737c (diff) | |
download | tanzanite-2c0d76634e4b2da7180c73a64f9a860303b010ef.tar.gz tanzanite-2c0d76634e4b2da7180c73a64f9a860303b010ef.tar.bz2 tanzanite-2c0d76634e4b2da7180c73a64f9a860303b010ef.zip |
Merge branch 'rewrite' of https://github.com/NotEnoughUpdates/bush-bot into rewrite
-rw-r--r-- | src/commands/dev/eval.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index 43a7170..436268e 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -220,7 +220,13 @@ export default class EvalCommand extends BushCommand { `[${newCredential} Omitted]` ); output = output.replace( - new RegExp([...credential.toString()].reverse().join('').replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g'), + new RegExp( + [...credential.toString()] + .reverse() + .join('') + .replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), + 'g' + ), `[${newCredential} Omitted]` ); } |