Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
t4lz committed Apr 19, 2023
1 parent bb94965 commit e4ee3bb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ class NodeRunConfigurationExtension: AbstractNodeRunConfigurationExtension() {
else -> null
}

val config = configuration as NodeJsRunConfiguration

MirrordExecManager.start(wsl, project)?.let {
env ->
val config = configuration as NodeJsRunConfiguration
val unionList = (config.envs.asSequence() + env.asSequence())
.distinct()
.groupBy({ it.key }, { it.value })
Expand All @@ -43,12 +43,12 @@ class NodeRunConfigurationExtension: AbstractNodeRunConfigurationExtension() {
return null
}

override fun getEditorTitle(): String? {
override fun getEditorTitle(): String {
return "Node Run Configuration"
}

override fun isApplicableFor(profile: AbstractNodeTargetRunProfile): Boolean {
// TODO: do we want to sometimes return false here?
// TODO: do we sometimes want to return false here?
return true
}
}

0 comments on commit e4ee3bb

Please sign in to comment.