Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 74e621c

Browse files
Merge pull request #67 from stack-spot/fix/template-requirement
fix: returning the template requirements check
2 parents 062584c + 55e42b9 commit 74e621c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/kotlin/com/stackspot/intellij/services/StackSpotToolWindowService.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,8 @@ class StackSpotToolWindowService {
6060
}
6161

6262
fun pluginsOrTemplatesNotApplied(plugins: List<String>? = null): List<String> {
63-
/**
64-
* Link to check: https://app.shortcut.com/stackspot/story/392379/ide-intellij-bug-valida%C3%A7%C3%A3o-requirement-em-apply-plugin-com-app-sem-template
65-
*/
66-
6763
return plugins
68-
?.filter { p -> appliedPlugins.none { ap -> ap.templateDataPath == p } }
64+
?.filter { p -> appliedPlugins.none { ap -> ap.templateDataPath == p } && p != template?.templateDataPath }
6965
?.toList() ?: listOf()
7066
}
7167
}

0 commit comments

Comments
 (0)