From 4054b875347fce8017b67549701c21f9362214b2 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 27 Nov 2017 07:43:30 -0500 Subject: [PATCH] shorter error message, remove ES6 template string --- store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store.js b/store.js index fefc13cd9a..f31c659080 100644 --- a/store.js +++ b/store.js @@ -53,7 +53,7 @@ assign(Store.prototype, { function visit(key) { if (cycles[key]) { - throw new Error(`Cyclical dependency detected — a computed property cannot indirectly depend on itself`); + throw new Error('Cyclical dependency detected'); } if (visited[key]) return;