We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a092dc commit 33d1cb6Copy full SHA for 33d1cb6
1 file changed
lib/route.js
@@ -358,9 +358,7 @@ exports = module.exports = internals.Route = class {
358
return;
359
}
360
361
- if (this.method[0] !== '_') {
362
- message = `${message}: ${this.method.toUpperCase()} ${this.path}`;
363
- }
+ message = `${message}: ${this.method.toUpperCase()} ${this.path}`;
364
365
throw new Assert.AssertionError({
366
message,
0 commit comments