aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-18 13:12:53 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-18 13:12:53 -0400
commit1eb424a11b0ac6546535ae0974157181c66bbb92 (patch)
tree72eca64c1b2d13b7e850580b9fbd97e3033077e1 /src/commands
parenta1c58b434c44b1acca0880306663023479789d30 (diff)
downloadtanzanite-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.ts2
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]`
);
}