Skip to content

Commit

Permalink
Remove non-existing re-export from helper-addon blueprint
Browse files Browse the repository at this point in the history
The blueprint for an addon's `app/helpers/foo.js` contains a re-export of a named export of `addon/helpers/foo.js` which does not exist, as it only has a default export.

FWIW, Embroider is constantly complaining about this (rightly).

(cherry picked from commit 7aa8233)
  • Loading branch information
simonihmig authored and kategengler committed Feb 8, 2021
1 parent 20eb89a commit aab1a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1 +1 @@
export { default, <%= camelizedModuleName %> } from '<%= modulePath %>';
export { default } from '<%= modulePath %>';
2 changes: 1 addition & 1 deletion node-tests/fixtures/helper/helper-addon.js
@@ -1 +1 @@
export { default, fooBarBaz } from 'my-addon/helpers/foo/bar-baz';
export { default } from 'my-addon/helpers/foo/bar-baz';

0 comments on commit aab1a9e

Please sign in to comment.