Skip to content

Commit

Permalink
fix glint
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Sep 21, 2022
1 parent d5b1d04 commit 1ee8487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glint/glint-hbs-imports-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 1ee8487

Please sign in to comment.