Skip to content
Snippets Groups Projects
Commit d918d373 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(bazel): massage bazel-skylib

parent 20fc74fd
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,12 @@ async function updateDependency(fileContent, upgrade) {
upgrade.currentValue,
upgrade.newValue
);
const massages = {
'bazel-skylib.0.9.0': 'bazel_skylib-0.9.0',
};
for (const [from, to] of Object.entries(massages)) {
newDef = newDef.replace(from, to);
}
const urls = extractUrls(newDef);
if (!(urls && urls.length)) {
logger.debug({ newDef }, 'urls is empty');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment