Skip to content

Commit 702d213

Browse files
committed
- fix: completion did not provide all possibilities (when using with ember-hbs-imports)
- fix: tag completions & references did not work in some cases
1 parent e63105a commit 702d213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/emberjs/resolver/EmberName.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ data class EmberName(val type: String, val path: String, val fullImportPath: Str
5454
assert(type == "component" || isComponentTemplate)
5555

5656
var baseName = if (isComponentTemplate) name.removePrefix("components/") else name
57-
baseName = baseName.first().uppercase() + baseName.subSequence(1, baseName.lastIndex)
57+
baseName = baseName.first().uppercase() + baseName.subSequence(1, baseName.lastIndex+1)
5858

5959
baseName.replace(SIMPLE_DASHERIZE_REGEXP) {
6060
assert(it.range.first - it.range.last == 0)

0 commit comments

Comments
 (0)