Skip to content

Commit

Permalink
Merge pull request #254 from DPGAlliance/main
Browse files Browse the repository at this point in the history
to test
  • Loading branch information
law909 authored Jun 20, 2024
2 parents 6718fd1 + f39b379 commit ad89767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/automation/consolidate_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function start() {
// Fetch all migrated DPGs from new app api at https://app.digitalpublicgoods.net/api/dpgs
let dpgjson = await fetch("https://api.digitalpublicgoods.net/dpgs");
dpgjson = await dpgjson.json();

const dpgs = [...dpgjson];
console.log("DPG's in registry API - ",dpgs.length)
let allData = [];
Expand Down Expand Up @@ -213,7 +213,7 @@ async function fetchGithubActivity(org, item) {
console.log(
"Found something else where the activity chart is expected. This most likely indicates that GitHub has changed the HTML, and this code needs adjustment."
);
process.exit(1);
//process.exit(1);
}
} else {
console.log("Activity chart NOT found ! ! ! ! !");
Expand Down
4 changes: 2 additions & 2 deletions packages/automation/generate_nominees.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function fetchGithubActivity(org, item){
output = '<a href="https://github.com/'+org+'/'+item+'" target="_blank">' + list.html() + '</a>';
} else {
console.log('Found something else where the activity chart is expected. This most likely indicates that GitHub has changed the HTML, and this code needs adjustment.');
process.exit(1);
//process.exit(1);
}
} else {
console.log('Activity chart NOT found ! ! ! ! !')
Expand All @@ -155,7 +155,7 @@ glob(path.join(npath, '/*.json'), {}, async (err, files) => {
if(matchGithub){
html += await fetchGithubActivity(matchGithub[1], matchGithub[2]);
}
}
}
}
n['githubActivity'] = html;
if(n['stage'] === 'DPG' && fs.existsSync(path.join(spath, path.basename(files[i])))) {
Expand Down

0 comments on commit ad89767

Please sign in to comment.