From b0e6d8eac44acab2e09e9d0555618189ba9f6ce8 Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Mon, 20 Nov 2023 18:45:55 +0100 Subject: [PATCH] chore: convert i18n cli to es modules --- tools/i18n/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/i18n/cli.js b/tools/i18n/cli.js index e60b9d5fd6..2e982e3075 100755 --- a/tools/i18n/cli.js +++ b/tools/i18n/cli.js @@ -1,5 +1,5 @@ -const { readFile, writeFile } = require('fs/promises') -const { program } = require('commander') +import { readFile, writeFile } from 'fs/promises' +import { program } from 'commander' program .command('merge ')