From cd865108ba4f3091018601a50b46b72fbe0d737c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 18 Jul 2021 17:13:27 +0000 Subject: Automatically format code --- src/commands/dev/eval.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/commands/dev/eval.ts') 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]` ); } -- cgit