diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 13:12:53 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 13:12:53 -0400 |
commit | 1eb424a11b0ac6546535ae0974157181c66bbb92 (patch) | |
tree | 72eca64c1b2d13b7e850580b9fbd97e3033077e1 /src/commands | |
parent | a1c58b434c44b1acca0880306663023479789d30 (diff) | |
download | tanzanite-1eb424a11b0ac6546535ae0974157181c66bbb92.tar.gz tanzanite-1eb424a11b0ac6546535ae0974157181c66bbb92.tar.bz2 tanzanite-1eb424a11b0ac6546535ae0974157181c66bbb92.zip |
move around excapes
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/dev/eval.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index 38e142e..43a7170 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -220,7 +220,7 @@ export default class EvalCommand extends BushCommand { `[${newCredential} Omitted]` ); output = output.replace( - new RegExp([...credential.toString().replace(/[.*+?^${}()|[\]\\]/g, '\\$&')].reverse().join(''), 'g'), + new RegExp([...credential.toString()].reverse().join('').replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g'), `[${newCredential} Omitted]` ); } |