fix: add missing stdout

This commit is contained in:
Cori Hudson 2022-10-21 15:27:34 -04:00
parent 2907601077
commit 113c0c095e

View file

@ -63,6 +63,7 @@ const txPushResource = async (name, articles, type) => {
} }
// file not found - create it, but also give message // file not found - create it, but also give message
process.stdout.write(`Transifex Resource not found, creating: ${name}\n`);
if (err.statusCode === 404) { if (err.statusCode === 404) {
await txCreateResource(TX_PROJECT, resourceData); await txCreateResource(TX_PROJECT, resourceData);
} }