diff options
author | Linus Groh <mail@linusgroh.de> | 2020-11-28 15:08:48 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-28 16:46:25 +0100 |
commit | 149b54e26fb362dd5d9a604fa86844102078f78a (patch) | |
tree | cf9bdd09316ab26d0c37ff5d20611777380baa67 /Libraries | |
parent | 7615649fdfa20dcc8fce81477b01aac0e62e449f (diff) | |
download | serenity-149b54e26fb362dd5d9a604fa86844102078f78a.zip |
LibJS: Remove quotes from RegExpCompileError message
They look a bit out of place, especially for multi-line error messages.
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibJS/Runtime/ErrorTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 {}") \ |