Unverified Commit ce7ca248 authored by Sylvain Bannier's avatar Sylvain Bannier Committed by GitHub

Rewrite locale : fix wrong error message (#19319)

parent d47d83d8
...@@ -203,7 +203,7 @@ function checkCustomRoutes( ...@@ -203,7 +203,7 @@ function checkCustomRoutes(
} }
if (typeof route.locale !== 'undefined' && route.locale !== false) { if (typeof route.locale !== 'undefined' && route.locale !== false) {
invalidParts.push('`locale` must be undefined or true') invalidParts.push('`locale` must be undefined or false')
} }
if (!route.source) { if (!route.source) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment