Skip to content

Commit 2ee3daa

Browse files
authored
Merge pull request #170 from chilicoder/chilicoder-patch-1
fix regex in x-main
2 parents fed38b3 + 212ff4b commit 2ee3daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/docs-viewer/x-main/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default Component.extend({
8080
}
8181
} else {
8282
let file = appFiles
83-
.filter(file => file.match(/template.(hbs|md)/))
83+
.filter(file => file.match(/template.+(hbs|md)/))
8484
.find(file => file.match(path));
8585

8686
return `${projectHref}/edit/${primaryBranch}/tests/dummy/app/${file}`;

0 commit comments

Comments
 (0)