You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello people, I am trying to activate the autocomplete, and after adding Script template classes and Script templates classpath
I want to activate DangerFileScript but don't see it in Kotlin Scripting.
I see this cause of errors (Unresolved reference: danger) in my Dangerfile.df.kts
`import systems.danger.kotlin.*
danger(args) {
onGitHub {
// Big PR Check
if ((pullRequest.additions ?: 0) - (pullRequest.deletions ?: 0) > 300) {
warn("Big PR, try to keep changes smaller if you can")
}
// Work in progress check
if (pullRequest.title.contains("WIP", false)) {
warn("PR is classed as Work in Progress")
}
}
}`
Am I missing something or doing something wrong?
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hello people, I am trying to activate the autocomplete, and after adding Script template classes and Script templates classpath
I want to activate DangerFileScript but don't see it in Kotlin Scripting.
I see this cause of errors (Unresolved reference: danger) in my Dangerfile.df.kts
`import systems.danger.kotlin.*
danger(args) {
}`
Am I missing something or doing something wrong?
Thank you very much.
The text was updated successfully, but these errors were encountered: