aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts
index 029b69321..b3c30c11d 100644
--- a/src/utils/assert.ts
+++ b/src/utils/assert.ts
@@ -31,7 +31,7 @@ export const assert = {
doesBelongToStringEnum(variableName: string, value: string, stringEnum: StringEnum): void {
const doesBelongToStringEnum = !_.isUndefined(stringEnum[value]);
const enumValues = _.keys(stringEnum);
- const enumValuesAsStrings = _.map(enumValues, enumValue => '\'' + enumValue + '\'');
+ const enumValuesAsStrings = _.map(enumValues, enumValue => `'${enumValue}'`);
const enumValuesAsString = enumValuesAsStrings.join(', ');
assert.assert(
doesBelongToStringEnum,