You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE: Do not use the dotenv.config API directly to read the dotenv file! For some ungodly reason, it falls back to reading `${process.cwd()}/.env` which is absolutely not what we want.
87
+
constdotenvResult=dotenv.parse(dotenvFile);
88
+
process.env={ ...process.env, ...dotenvResult};
91
89
logger.info('Using environment variables configured in ".env.sentry-build-plugin".');
90
+
}catch(e: unknown){
91
+
// Ignore "file not found" errors but throw all others
0 commit comments