Skip to content

Commit d2e6052

Browse files
committed
Remove convention(null) from allowInsecureProtocol... does it even make any sense to have a null convention?
1 parent 5f49c55 commit d2e6052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/com/github/gradle/node/NodeExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ open class NodeExtension(project: Project) {
6565
* Change it to true if you use a mirror that uses HTTP rather than HTTPS
6666
* Or set to null if you want to use Gradle's default behaviour.
6767
*/
68-
val allowInsecureProtocol = project.objects.property<Boolean>().convention(null)
68+
val allowInsecureProtocol = project.objects.property<Boolean>()
6969

7070
val npmCommand = project.objects.property<String>().convention("npm")
7171
val npxCommand = project.objects.property<String>().convention("npx")

0 commit comments

Comments
 (0)