We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590adbb commit 8a213d9Copy full SHA for 8a213d9
src/util/params.js
@@ -24,10 +24,8 @@ export function fillParams (
24
25
return filler(params, { pretty: true })
26
} catch (e) {
27
- if (process.env.NODE_ENV !== 'production') {
28
- // Fix #3072 no warn if `pathMatch` is string
29
- warn(typeof params.pathMatch === 'string', `missing param for ${routeMsg}: ${e.message}`)
30
- }
+ // Fix #3072 no warn if `pathMatch` is string
+ warn(typeof params.pathMatch === 'string', `missing param for ${routeMsg}: ${e.message}`)
31
return ''
32
} finally {
33
// delete the 0 if it was added
0 commit comments