mirror of
https://github.com/apple/pkl.git
synced 2026-03-30 05:41:54 +02:00
Fix typo in constructor parameter name (#162)
Breaking change: changes param name `noTranstive` to `noTransitive`.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user