Skip to content

Commit

Permalink
Fix autofixes for python and ruby (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Feb 13, 2024
1 parent 8cae463 commit f152b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .autofix/fixers/update-lang-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.register = async (fixers) => {
const response = await fetch("https://raw.githubusercontent.com/endoflife-date/release-data/main/releases/python.json");
const data = await response.json();

const versions = sortVersions(Object.keys(data));
const versions = sortVersions(Object.keys(data.versions));

const patchVersionReplacements = {};
for (const version of versions) {
Expand Down
2 changes: 1 addition & 1 deletion .autofix/fixers/update-lang-ruby.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.register = async (fixers) => {
const response = await fetch("https://raw.githubusercontent.com/endoflife-date/release-data/main/releases/ruby.json");
const data = await response.json();

const versions = Object.keys(data);
const versions = Object.keys(data.versions);

const patchVersionReplacements = {};
for (const version of versions) {
Expand Down

0 comments on commit f152b03

Please sign in to comment.