Skip to content

Commit 149b54e

Browse files
linusgawesomekling
authored andcommitted
LibJS: Remove quotes from RegExpCompileError message
They look a bit out of place, especially for multi-line error messages.
1 parent 7615649 commit 149b54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/LibJS/Runtime/ErrorTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
M(ReflectBadArgumentsList, "Arguments list must be an object") \
147147
M(ReflectBadNewTarget, "Optional third argument of Reflect.construct() must be a constructor") \
148148
M(ReflectBadDescriptorArgument, "Descriptor argument is not an object") \
149-
M(RegExpCompileError, "RegExp compile error: '{}'") \
149+
M(RegExpCompileError, "RegExp compile error: {}") \
150150
M(RegExpObjectBadFlag, "Invalid RegExp flag '{}'") \
151151
M(RegExpObjectRepeatedFlag, "Repeated RegExp flag '{}'") \
152152
M(StringRawCannotConvert, "Cannot convert property 'raw' to object from {}") \

0 commit comments

Comments
 (0)