We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8122780 commit 48d02d1Copy full SHA for 48d02d1
lib/migrator.js
@@ -27,8 +27,9 @@ module.exports = class Migrator {
27
}
28
29
findTemplates() {
30
- const templateFolderPath = path.join(this.projectRoot, 'app/templates');
31
- const templateFilePaths = glob.sync(`${templateFolderPath}/**/*.hbs`);
+ const componentsFolderPath = path.join(this.projectRoot, 'app/components');
+ const templatesFolderPath = path.join(this.projectRoot, 'app/templates');
32
+ const templateFilePaths = glob.sync(`{${componentsFolderPath},${templatesFolderPath}}/**/*.hbs`);
33
34
return templateFilePaths;
35
0 commit comments