MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / showProgress

Function showProgress

scripts/transifex.mjs:283–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281 if (allowedLangs) langs = langs.filter(lang => allowedLangs.includes(lang));
282 let finished = 0;
283 const showProgress = () => {
284 process.stdout.write(`\rHandling translations (${finished}/${langs.length})...`);
285 };
286 showProgress();
287 await Promise.all(langs.map(async lang => {
288 try {

Callers 1

batchHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected