2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

chore: remove unnecessary eslint-disable directive (#7283)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Ved Vadnere
2025-12-30 16:41:30 +05:30
committed by GitHub
parent 38be3b2e18
commit 3141c319c2
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -5,11 +5,11 @@ import fs from 'fs/promises';
const argv = minimist(process.argv.slice(2));
console.log(argv);
let {tag} = argv;
let { tag } = argv;
(async() => {
(async () => {
if (!tag || tag === true) {
const {version} = JSON.parse((await fs.readFile('./package.json')).toString());
const { version } = JSON.parse((await fs.readFile('./package.json')).toString());
tag = 'v' + version;
} else if (typeof tag !== 'string') {