aboutsummaryrefslogtreecommitdiff
path: root/lib/handlers
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2024-03-08 22:25:09 -0600
committerGitHub <noreply@github.com>2024-03-08 22:25:09 -0600
commitfd3dd917f597b5ff21f34db36c8a6a7e9aee9e4b (patch)
treef1be547850b7076a023f29aa45db71fa5fb9aa69 /lib/handlers
parent45b743e22b37fbc8a858daddd8280eada070e807 (diff)
downloadcompiler-explorer-fd3dd917f597b5ff21f34db36c8a6a7e9aee9e4b.tar.gz
compiler-explorer-fd3dd917f597b5ff21f34db36c8a6a7e9aee9e4b.zip
Vitest (#6219)gh-10925
Port to vitest. Port everything to typescript. Remove chai, mocha and chai-as-promised. Adds some docs.
Diffstat (limited to 'lib/handlers')
-rw-r--r--lib/handlers/formatting.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlers/formatting.ts b/lib/handlers/formatting.ts
index 65545df62..623f04447 100644
--- a/lib/handlers/formatting.ts
+++ b/lib/handlers/formatting.ts
@@ -58,7 +58,7 @@ export class FormattingHandler {
const result = await exec.execute(exe, [versionArgument], {});
const match = result.stdout.match(versionRegExp);
const formatterClass = getFormatterTypeByKey(type);
- const styleList = this.ceProps<string>(`formatter.${formatterName}.styles`);
+ const styleList = this.ceProps<string>(`formatter.${formatterName}.styles`, '');
const styles = styleList === '' ? [] : styleList.split(':');
// If there is an explicit version, grab it. Otherwise try to filter the output
const version = hasExplicitVersion