Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Korolevskii committed Sep 21, 2022
1 parent 1f2c90b commit cc76dfa
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/authutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,12 @@ function writeFeedToFile(
core.debug(`Found a URL with key ${key}`);
}
});
} else {
if (
packageSources['@_value']
.toLowerCase()
.includes(feedUrl.toLowerCase())
) {
const key = packageSources['@_key'];
sourceKeys.push(key);
core.debug(`Found a URL with key ${key}`);
}
} else if (
packageSources['@_value'].toLowerCase().includes(feedUrl.toLowerCase())
) {
const key = packageSources['@_key'];
sourceKeys.push(key);
core.debug(`Found a URL with key ${key}`);
}
}
}
Expand Down

0 comments on commit cc76dfa

Please sign in to comment.