Fix typo in constructor parameter name (#162)

Breaking change: changes param name `noTranstive` to `noTransitive`.
This commit is contained in:
translatenix
2024-02-15 09:35:21 -08:00
committed by GitHub
parent c3473cc626
commit 810a755702
2 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ import org.pkl.core.packages.PackageUri
class CliDownloadPackageCommand(
baseOptions: CliBaseOptions,
private val packageUris: List<PackageUri>,
private val noTranstive: Boolean
private val noTransitive: Boolean
) : CliCommand(baseOptions) {
override fun doRun() {
@@ -35,7 +35,7 @@ class CliDownloadPackageCommand(
val errors = mutableMapOf<PackageUri, Throwable>()
for (pkg in packageUris) {
try {
packageResolver.downloadPackage(pkg, pkg.checksums, noTranstive)
packageResolver.downloadPackage(pkg, pkg.checksums, noTransitive)
} catch (e: Throwable) {
errors[pkg] = e
}