diff options
author | Aurelio Jargas <verde@aurelio.net> | 2022-10-28 20:46:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 20:46:16 +0300 |
commit | 85d2150997d4a1736c1f407d18ae71acb8541ed3 (patch) | |
tree | 48b43cf82cc6e8fd2acc877dfbb1f40b20d8e713 /CODEOWNERS | |
parent | 22050f2fd4c7b1558554a268feedae55dd1b4aca (diff) |
github-cli: Remove duplicated find_version_from_git_tags () (#235)
This function was defined twice in the install script for GitHub CLI, in
old lines 76 and 161. This commit removes the first definition.
The only function calls were on old lines 201 and 222. Since they appear
after the second function definition at line 161, the first one at line
76 never got called, so it's safe to remove it.
I confirmed that this was the only file in this repository where this
function was duplicated:
$ git grep '^ *find_version_from_git_tags *('
src/docker-from-docker/install.sh:find_version_from_git_tags() {
src/docker-in-docker/install.sh:find_version_from_git_tags() {
src/git-lfs/install.sh:find_version_from_git_tags() {
src/github-cli/install.sh:find_version_from_git_tags() {
src/github-cli/install.sh:find_version_from_git_tags() {
src/go/install.sh:find_version_from_git_tags() {
src/kubectl-helm-minikube/install.sh:find_version_from_git_tags() {
src/php/install.sh:find_version_from_git_tags() {
src/powershell/install.sh:find_version_from_git_tags() {
src/python/install.sh:find_version_from_git_tags() {
src/ruby/install.sh:find_version_from_git_tags() {
src/rust/install.sh:find_version_from_git_tags() {
src/terraform/install.sh:find_version_from_git_tags() {
$
Diffstat (limited to 'CODEOWNERS')
0 files changed, 0 insertions, 0 deletions