feat(linting): adding in the checks to make me better and not so sloppy

This commit is contained in:
2025-12-22 15:59:49 -06:00
parent 6bb27e588d
commit a31b516538
14 changed files with 191 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
import { readFileSync } from "node:fs";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
import axios from "axios";
import { readFileSync } from "fs";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@@ -36,8 +36,8 @@ try {
},
);
console.log(`✅ Release ${version} created!`);
console.log(`🔗 ${response.data.html_url}`);
console.info(`✅ Release ${version} created!`);
console.info(`🔗 ${response.data.html_url}`);
} catch (error) {
console.error(`❌ Error: ${error.response?.data?.message || error.message}`);
process.exit(1);