Skip to content

Commit

Permalink
fix: remove unneeded console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Nov 23, 2021
1 parent 0ac8bd7 commit bd48cea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/actions/add-files-to-translation-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const main = async () => {
const url = process.argv[2];

const queue = await getTranslations({ status: STATUS.PENDING });
console.log('queue', queue);
const prFileData = await fetchPaginatedGHResults(
url,
process.env.GITHUB_TOKEN
Expand All @@ -82,14 +81,11 @@ const main = async () => {
.filter((f) => f.status !== 'removed');

const allLocalizedFileData = changedMdxFileData.flatMap(getLocalizedFileData);
console.log('allLocalizedFileData', allLocalizedFileData);
const fileDataToAddToQueue = translationDifference(
queue,
allLocalizedFileData
);

console.log('File Data To Add To Queue:', fileDataToAddToQueue);

await Promise.all(
fileDataToAddToQueue.map(({ filename, locale, project_id }) =>
addTranslation({
Expand Down

0 comments on commit bd48cea

Please sign in to comment.