mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2025-05-22 11:01:16 -04:00
fix: require is not allowed in mjs files
This commit is contained in:
parent
e281dca397
commit
fb47cd2c56
1 changed files with 2 additions and 1 deletions
|
@ -5,8 +5,9 @@
|
||||||
* Script get Knowledge base articles from Freshdesk and push them to transifex.
|
* 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 args = process.argv.slice(2);
|
||||||
const {txPush, txCreateResource} = require('../lib/transifex.js');
|
|
||||||
|
|
||||||
const usage = `
|
const usage = `
|
||||||
Pull knowledge base articles from Freshdesk and push to scratch-help project on transifex. Usage:
|
Pull knowledge base articles from Freshdesk and push to scratch-help project on transifex. Usage:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue