Skip to content

Commit

Permalink
chore: add missing space in warning message (#4359) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
okbug authored Aug 17, 2021
1 parent 644971e commit c68cba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/src/collectionHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
}
Expand Down

1 comment on commit c68cba8

@yyx990803
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out the space is already accounted for... reverting

Please sign in to comment.