Merge pull request #3 from Cihatata/workflow-use-require
fix: use require
This commit is contained in:
2 files changed
+5
-4
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
const axios = require('axios');
|
import axios from 'axios';
|
||||||
const fs = require('fs-extra');
|
import fs from 'fs-extra';
|
||||||
const path = require('path');
|
import path from 'path';
|
||||||
const { URLSearchParams } = require('url');
|
import { URLSearchParams } from 'url';
|
||||||
|
|
||||||
// POEditor API information
|
// POEditor API information
|
||||||
const API_TOKEN = process.env.POEDITOR_API;
|
const API_TOKEN = process.env.POEDITOR_API;
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ jobs:
|
|||||||
"name": "poeditor-scripts",
|
"name": "poeditor-scripts",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.0",
|
"axios": "^1.6.0",
|
||||||
"fs-extra": "^11.1.1"
|
"fs-extra": "^11.1.1"
|
||||||
|
|||||||
Reference in new issue
Block a user