feature/IO-3255-simplified-parts-management - Remove unnecessary dotenv calls

This commit is contained in:
Dave
2025-08-21 11:45:38 -04:00
parent 77cacdec91
commit 70fa638c37
43 changed files with 90 additions and 204 deletions

View File

@@ -1,9 +1,4 @@
// Load environment variables THIS MUST BE AT THE TOP
const path = require("path");
require("dotenv").config({
path: path.resolve(process.cwd(), `.env.${process.env.NODE_ENV || "development"}`)
});
const { networkInterfaces, hostname } = require("node:os");
const getHostNameOrIP = () => {

View File

@@ -1,8 +1,5 @@
// Load environment variables THIS MUST BE AT THE TOP
const path = require("path");
require("dotenv").config({
path: path.resolve(process.cwd(), `.env.${process.env.NODE_ENV || "development"}`)
});
const InstanceManager = require("../utils/instanceMgr").default;
const winston = require("winston");