From 149b54e26fb362dd5d9a604fa86844102078f78a Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 28 Nov 2020 15:08:48 +0000 Subject: [PATCH] LibJS: Remove quotes from RegExpCompileError message They look a bit out of place, especially for multi-line error messages. --- Libraries/LibJS/Runtime/ErrorTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibJS/Runtime/ErrorTypes.h b/Libraries/LibJS/Runtime/ErrorTypes.h index edad984c65..629b33928e 100644 --- a/Libraries/LibJS/Runtime/ErrorTypes.h +++ b/Libraries/LibJS/Runtime/ErrorTypes.h @@ -146,7 +146,7 @@ M(ReflectBadArgumentsList, "Arguments list must be an object") \ M(ReflectBadNewTarget, "Optional third argument of Reflect.construct() must be a constructor") \ M(ReflectBadDescriptorArgument, "Descriptor argument is not an object") \ - M(RegExpCompileError, "RegExp compile error: '{}'") \ + M(RegExpCompileError, "RegExp compile error: {}") \ M(RegExpObjectBadFlag, "Invalid RegExp flag '{}'") \ M(RegExpObjectRepeatedFlag, "Repeated RegExp flag '{}'") \ M(StringRawCannotConvert, "Cannot convert property 'raw' to object from {}") \