Skip to content

Commit 18bbf37

Browse files
authored
Merge pull request #1 from Cihatata/workflow-use-require
Workflow use require
2 parents 480056a + 7158b1f commit 18bbf37

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/scripts/download-translations.js

+4-7
Original file line numberDiff line numberDiff line change
@@ -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);
1+
const axios = require('axios');
2+
const fs = require('fs-extra');
3+
const path = require('path');
4+
const { URLSearchParams } = require('url');
85

96
// POEditor API information
107
const API_TOKEN = process.env.POEDITOR_API;

0 commit comments

Comments
 (0)