@herb-tools/dev-tools 0.8.10 → 0.9.1

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.
@@ -85,7 +85,7 @@
85
85
  const htmlTemplates = document.querySelectorAll('template[data-herb-parser-error]');
86
86
  htmlTemplates.forEach((template, _index) => {
87
87
  try {
88
- let htmlContent = template.innerHTML?.trim() || template.textContent?.trim();
88
+ const htmlContent = template.innerHTML?.trim() || template.textContent?.trim();
89
89
  if (htmlContent) {
90
90
  this.displayParserErrorOverlay(htmlContent);
91
91
  templatesToRemove.push(template);
@@ -1695,7 +1695,7 @@
1695
1695
  try {
1696
1696
  window.open(url, '_self');
1697
1697
  }
1698
- catch (error) {
1698
+ catch (_error) {
1699
1699
  console.log(`Open in editor: ${absolutePath}:${line}:${column}`);
1700
1700
  }
1701
1701
  }