bruce-models 1.8.7 → 1.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2002,7 +2002,9 @@ function getVariable(str) {
2002
2002
  const end = str.indexOf("}");
2003
2003
  if (end > -1) {
2004
2004
  if (start < end) {
2005
- return { path: str.substring(start + 2, end), text: str.substring(start, end) };
2005
+ const path = str.substring(start + 2, end);
2006
+ const txt = str.substring(start, end + 1);
2007
+ return { path: path, text: txt };
2006
2008
  }
2007
2009
  }
2008
2010
  }