From 951fbb197b63c2bd1528e78601c28424211ba6b8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 17 Aug 2021 12:18:54 -0400 Subject: [PATCH] Revert "chore: add missing space in warning message (#4359) [ci skip]" This reverts commit c68cba82eaabdef8d5e3c8dae1146bdb315a845a. --- packages/reactivity/src/collectionHandlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/reactivity/src/collectionHandlers.ts b/packages/reactivity/src/collectionHandlers.ts index 5ea878aff97..fe79ad9e66c 100644 --- a/packages/reactivity/src/collectionHandlers.ts +++ b/packages/reactivity/src/collectionHandlers.ts @@ -228,7 +228,7 @@ function createReadonlyMethod(type: TriggerOpTypes): Function { if (__DEV__) { const key = args[0] ? `on key "${args[0]}" ` : `` console.warn( - `${capitalize(type)} operation ${key} failed: target is readonly.`, + `${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this) ) }