Skip to content

Commit 4590ed0

Browse files
authored
Update template.js
1 parent 08f9bb9 commit 4590ed0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/template.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Object.assign(expressions.filters, {
3535
});
3636

3737
function normalizePath(path) {
38+
if (!path.includes('-')) {
39+
return path;
40+
}
3841
const [first, ...rest] = path.split('.');
3942
if (!rest.length) {
4043
return first;

0 commit comments

Comments
 (0)