From f7015c62fe24ab448bb14ce9e2df92a16da9b056 Mon Sep 17 00:00:00 2001 From: bekzod Date: Wed, 4 Oct 2017 23:24:32 +0500 Subject: [PATCH] correctly escape values in assertion --- packages/ember-runtime/lib/system/core_object.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ember-runtime/lib/system/core_object.js b/packages/ember-runtime/lib/system/core_object.js index b873259de6f..abbf22c12e1 100644 --- a/packages/ember-runtime/lib/system/core_object.js +++ b/packages/ember-runtime/lib/system/core_object.js @@ -414,7 +414,7 @@ CoreObject.PrototypeMixin = Mixin.create({ return; } - assert(`You cannot set \`${this}.isDestroyed\` directly, please use `.destroy()`.`, false); + assert(`You cannot set \`${this}.isDestroyed\` directly, please use \`.destroy()\`.`, false); } }), @@ -439,7 +439,7 @@ CoreObject.PrototypeMixin = Mixin.create({ return; } - assert(`You cannot set \`${this}.isDestroying\` directly, please use `.destroy()`.`, false); + assert(`You cannot set \`${this}.isDestroying\` directly, please use \`.destroy()\`.`, false); } }),