From 1ee84871fe4ca7a2d514e846cb258917b56731e6 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 21 Sep 2022 13:02:58 +0200 Subject: [PATCH] fix glint --- glint/glint-hbs-imports-env.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glint/glint-hbs-imports-env.js b/glint/glint-hbs-imports-env.js index 107b0d9..2b6dad9 100644 --- a/glint/glint-hbs-imports-env.js +++ b/glint/glint-hbs-imports-env.js @@ -134,7 +134,7 @@ const patchedRewriteDiagnostics = function (diagnostics, fileName) { diags.forEach((d) => { const regexs = [ /Cannot find module '(.*)' or its corresponding type declarations./, - /Namespace '(.*)' has no exported member/ + /Namespace '"(.*)"' has no exported member/ ]; const result = regexs.map(r => d.messageText.match?.(r)).find(r => r && r.length > 1) if (result && result.length > 1) { diff --git a/package.json b/package.json index a7a2755..8a2eba2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-hbs-imports", - "version": "0.5.11", + "version": "0.5.12", "repository": { "type": "git", "url": "https://github.com/patricklx/ember-hbs-imports"