mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Fix awk parser to set correct variable. (#419)
The awk json parsing routine was setting a variable of "description" instead of "info". This was causing a problem where the cached index - and subsequently ls-remote commands - to show the "%info" format item as the URL again.
This commit is contained in:
parent
e37a437e54
commit
c9d2f2ba16
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ function __fisher_remote_index_update
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match($0, /^description:[[:blank:]]*/)) {
|
if (match($0, /^description:[[:blank:]]*/)) {
|
||||||
description = substr($0, RLENGTH+1)
|
info = substr($0, RLENGTH+1)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match($0, /^stargazers_count:[[:blank:]]*/)) {
|
if (match($0, /^stargazers_count:[[:blank:]]*/)) {
|
||||||
|
|
Loading…
Reference in a new issue