]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(warn): cast symbols to strings (#1103)
authorEduardo San Martin Morote <posva@users.noreply.github.com>
Sat, 2 May 2020 14:26:32 +0000 (16:26 +0200)
committerGitHub <noreply@github.com>
Sat, 2 May 2020 14:26:32 +0000 (10:26 -0400)
packages/runtime-core/src/apiCreateApp.ts

index c1e0538cb6d8ec42273bf1df2bd38d38e1726590..4e3079e436f3dd3a304a923850c4ae53ab9691f5 100644 (file)
@@ -241,7 +241,7 @@ export function createAppAPI<HostElement>(
       provide(key, value) {
         if (__DEV__ && key in context.provides) {
           warn(
-            `App already provides property with key "${key}". ` +
+            `App already provides property with key "${String(key)}". ` +
               `It will be overwritten with the new value.`
           )
         }