We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 480056a + 7158b1f commit 18bbf37Copy full SHA for 18bbf37
.github/scripts/download-translations.js
@@ -1,10 +1,7 @@
1
-import axios from 'axios';
2
-import fs from 'fs-extra';
3
-import path from 'path';
4
-import { fileURLToPath } from 'url';
5
-
6
-// Get current directory
7
-const __filename = fileURLToPath(import.meta.url);
+const axios = require('axios');
+const fs = require('fs-extra');
+const path = require('path');
+const { URLSearchParams } = require('url');
8
9
// POEditor API information
10
const API_TOKEN = process.env.POEDITOR_API;
0 commit comments