@edx/reactifex
Advanced tools
Comparing version
{ | ||
"name": "@edx/reactifex", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A helper for moving react-intl messages to transifex and back", | ||
@@ -5,0 +5,0 @@ "bin": "./main.js", |
@@ -104,3 +104,3 @@ /* | ||
translationStringsData.forEach(async (value) => { | ||
for (let counter = 0; counter < translationStringsData.length; counter += 1) { | ||
/* | ||
@@ -113,2 +113,3 @@ Convert string <hash>|<instructions> into list | ||
*/ | ||
const value = translationStringsData[counter]; | ||
const valueList = value.split("|"); | ||
@@ -119,8 +120,10 @@ const hash = valueList[0]; | ||
process.stdout.write(`Hash: ${stringId}, Instructions: ${instructions}\n`); | ||
// eslint-disable-next-line no-await-in-loop | ||
await addStringInstructions(stringId, instructions, args.token); | ||
}); | ||
process.stdout.write(`Instruction addition for Hash ${stringId} completed\n`); | ||
} | ||
} | ||
} | ||
async function main() { | ||
(async function () { | ||
const args = yargs.argv; | ||
@@ -136,6 +139,2 @@ const inputFilePath = `${args.inputFileDirectory}/hashed_data.txt`; | ||
await addInstructions(inputData, args); | ||
} | ||
(async function () { | ||
await main(); | ||
}()); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17411
1%0
-100%