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'; const axios = require('axios');
import fs from 'fs-extra'; const fs = require('fs-extra');
import path from 'path'; const path = require('path');
import { fileURLToPath } from 'url'; const { URLSearchParams } = require('url');
// Get current directory
const __filename = fileURLToPath(import.meta.url);
// POEditor API information // POEditor API information
const API_TOKEN = process.env.POEDITOR_API; const API_TOKEN = process.env.POEDITOR_API;