tools.vpm: remove obsolete array clone (#20016)

This commit is contained in:
Turiiya 2023-11-28 08:44:07 +01:00 committed by GitHub
parent b5ba12256d
commit 920be09c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ fn vpm_install(query []string) {
println('Nothing to install.') println('Nothing to install.')
exit(0) exit(0)
} }
manifest.dependencies.clone() manifest.dependencies
} else { } else {
vpm_error('specify at least one module for installation.', vpm_error('specify at least one module for installation.',
details: 'example: `v install publisher.package` or `v install https://github.com/owner/repository`' details: 'example: `v install publisher.package` or `v install https://github.com/owner/repository`'