Skip to content

Commit c9eec41

Browse files
authored
Merge pull request #19 from vladucu/add-support-for-addons
Add support for running on addons
2 parents 7e04128 + 5cefcf4 commit c9eec41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function runForPath(path, options = {}) {
1818
let log = options.log || console.log;
1919

2020
log(` 🔍 Searching for component files...`);
21-
let paths = await globby('app/components/**/*.js', { cwd: path });
21+
let paths = await globby(['app/components/**/*.js', 'addon/components/**/*.js'], { cwd: path });
2222
debug('componentPaths = %O', paths);
2323

2424
let pkgContent = fs.readFileSync(`${path}/package.json`);

0 commit comments

Comments
 (0)