@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.
@@ -79,7 +79,7 @@ class ErrorOverlay {
79
79
  const htmlTemplates = document.querySelectorAll('template[data-herb-parser-error]');
80
80
  htmlTemplates.forEach((template, _index) => {
81
81
  try {
82
- let htmlContent = template.innerHTML?.trim() || template.textContent?.trim();
82
+ const htmlContent = template.innerHTML?.trim() || template.textContent?.trim();
83
83
  if (htmlContent) {
84
84
  this.displayParserErrorOverlay(htmlContent);
85
85
  templatesToRemove.push(template);
@@ -1689,7 +1689,7 @@ class HerbOverlay {
1689
1689
  try {
1690
1690
  window.open(url, '_self');
1691
1691
  }
1692
- catch (error) {
1692
+ catch (_error) {
1693
1693
  console.log(`Open in editor: ${absolutePath}:${line}:${column}`);
1694
1694
  }
1695
1695
  }