Merge pull request #1 from Cihatata/workflow-use-require

Workflow use require
This commit is contained in:
Cihat ATA authored and GitHub committed 2025-03-11 00:20:31 +03:00
commit 18bbf375c7
1 file changed
+4 -7
+4 -7
View File
@@ -1,10 +1,7 @@
import axios from 'axios';
import fs from 'fs-extra';
import path from 'path';
import { fileURLToPath } from 'url';
// Get current directory
const __filename = fileURLToPath(import.meta.url);
const axios = require('axios');
const fs = require('fs-extra');
const path = require('path');
const { URLSearchParams } = require('url');
// POEditor API information
const API_TOKEN = process.env.POEDITOR_API;