Skip to content

Commit 1cf7ff0

Browse files
committed
Add 0-args constructor to retain backwards compat #213
1 parent 8dcf0cf commit 1cf7ff0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/com/github/gradle/node/variant/VariantComputer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import org.gradle.api.provider.Provider
1010
open class VariantComputer constructor(
1111
private val platformHelper: PlatformHelper
1212
) {
13+
constructor() : this(PlatformHelper.INSTANCE)
14+
1315
/**
1416
* Get the expected directory for a given node version.
1517
*

0 commit comments

Comments
 (0)