Skip to content

Commit

Permalink
Fix bug where the library variable was being overwritten
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Dec 6, 2024
1 parent c7ae864 commit f8c504f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35974,8 +35974,8 @@ async function run(_local, _lib, _branch) {
if (lib == undefined)
{
// TODO(chapulina) Remove this after gz rename is over
library = library.replace('gz', 'ign');
lib = collectionYaml.repositories[library];
ign_library = library.replace('gz', 'ign');
lib = collectionYaml.repositories[ign_library];
if (lib == undefined)
{
continue;
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ async function run(_local, _lib, _branch) {
if (lib == undefined)
{
// TODO(chapulina) Remove this after gz rename is over
library = library.replace('gz', 'ign');
lib = collectionYaml.repositories[library];
ign_library = library.replace('gz', 'ign');
lib = collectionYaml.repositories[ign_library];
if (lib == undefined)
{
continue;
Expand Down

0 comments on commit f8c504f

Please sign in to comment.