File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/kotlin/com/emberjs/hbs/linter/ember-template-lint Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class TemplateLintConfiguration(project: Project) : JSLinterConfiguration<Templa
2424
2525 return state.copy(
2626 myInterpreterRef = this .myPackage.interpreter,
27- myTemplateLintPackage = this .myPackage.getPackage(). constantPackage
27+ myTemplateLintPackage = constantPackage
2828 )
2929 }
3030
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import com.intellij.lang.javascript.linter.JSNpmLinterState
66
77data class TemplateLintState (
88 private val myInterpreterRef : NodeJsInterpreterRef ,
9- private val myTemplateLintPackage : NodePackage ? ,
9+ private val myTemplateLintPackage : NodePackage ,
1010 val isRunOnSave : Boolean ,
1111) : JSNpmLinterState<TemplateLintState> {
1212
@@ -23,12 +23,12 @@ data class TemplateLintState(
2323 }
2424
2525 override fun getNodePackageRef (): NodePackageRef {
26- return this .myPackageRef!!
26+ return this .myPackageRef
2727 }
2828
2929 val templateLintPackage: NodePackage
3030 get() {
31- return this .myTemplateLintPackage!!
31+ return this .myTemplateLintPackage
3232 }
3333
3434 companion object {
You can’t perform that action at this time.
0 commit comments