aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-18 17:13:27 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-18 17:13:27 +0000
commitcd865108ba4f3091018601a50b46b72fbe0d737c (patch)
treed9d290be2727e399828317ee8f107a318bff1a93 /src
parent1eb424a11b0ac6546535ae0974157181c66bbb92 (diff)
downloadtanzanite-cd865108ba4f3091018601a50b46b72fbe0d737c.tar.gz
tanzanite-cd865108ba4f3091018601a50b46b72fbe0d737c.tar.bz2
tanzanite-cd865108ba4f3091018601a50b46b72fbe0d737c.zip
Automatically format code
Diffstat (limited to 'src')
-rw-r--r--src/commands/dev/eval.ts8
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]`
);
}