A platform for community discussion. Free, open, simple.
REFACTOR: removes useless assignment to local variable (#9676)
Joffrey JAFFEUXaffc79bb6866
diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown/d-wrap.js b/app/assets/javascripts/pretty-text/engines/discourse-markdown/d-wrap.jsindex 73dd3ca26cc..37f42df99f9 100644--- a/app/assets/javascripts/pretty-text/engines/discourse-markdown/d-wrap.js+++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown/d-wrap.js@@ -57,7 +57,7 @@ const inlineRule = {token.content = content;}- token = state.push("wrap_close", "span", -1);+ state.push("wrap_close", "span", -1);return true;}};