From: Eduardo San Martin Morote Date: Mon, 25 Oct 2021 12:42:22 +0000 (+0200) Subject: chore: split message in multiple lines X-Git-Tag: @pinia/nuxt@0.1.0~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d18c4b9477e3196b8b508c124879eaf000a218de;p=thirdparty%2Fvuejs%2Fpinia.git chore: split message in multiple lines --- diff --git a/packages/pinia/src/store.ts b/packages/pinia/src/store.ts index 7e27a613..fde32a21 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -676,7 +676,9 @@ function createSetupStore< !store.$state.constructor.toString().includes('[native code]') ) { console.warn( - `[🍍]: The "state" must be a plain object. It cannot be\n\tstate: () => new MyClass()\nFound in store "${store.$id}".` + `[🍍]: The "state" must be a plain object. It cannot be\n` + + `\tstate: () => new MyClass() \n` + + `Found in store "${store.$id}".` ) }