fix: require is not allowed in mjs files

This commit is contained in:
Christopher Willis-Ford 2024-10-30 10:34:59 -07:00
parent e281dca397
commit fb47cd2c56

View file

@ -5,8 +5,9 @@
* Script get Knowledge base articles from Freshdesk and push them to transifex.
*/
import {txPush, txCreateResource} from '../lib/transifex.js';
const args = process.argv.slice(2);
const {txPush, txCreateResource} = require('../lib/transifex.js');
const usage = `
Pull knowledge base articles from Freshdesk and push to scratch-help project on transifex. Usage: