Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 7, 2025
1 parent 6aca32d commit 20701d8
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions development/download-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,24 @@ const downloadAllResourceTranslations = async (resource) => {
const run = async () => {
console.log("This is going to take a while.");

console.log('Downloading runtime...');
console.log("Downloading runtime...");
fs.writeFileSync(
pathUtil.join(__dirname, "../translations/extension-runtime.json"),
JSON.stringify(await downloadAllResourceTranslations(RUNTIME_RESOURCE), null, 4)
JSON.stringify(
await downloadAllResourceTranslations(RUNTIME_RESOURCE),
null,
4
)
);

console.log('Downloading metadata...');
console.log("Downloading metadata...");
fs.writeFileSync(
pathUtil.join(__dirname, "../translations/extension-metadata.json"),
JSON.stringify(await downloadAllResourceTranslations(METADATA_RESOURCE), null, 4)
JSON.stringify(
await downloadAllResourceTranslations(METADATA_RESOURCE),
null,
4
)
);
};

Expand Down

0 comments on commit 20701d8

Please sign in to comment.