Skip to content

Commit 3734864

Browse files
idangozlanantonislucas-zimerman
committed
fixed broken envs load (#5210)
Co-authored-by: Antonis Lilis <antonis.lilis@sentry.io> Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
1 parent dc3d934 commit 3734864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/scripts/expo-upload-sourcemaps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ try {
131131

132132
const sentryBuildPluginPath = path.join(projectRoot, '.env.sentry-build-plugin');
133133
if (fs.existsSync(sentryBuildPluginPath)) {
134-
loadDotenv();
134+
loadDotenv(sentryBuildPluginPath);
135135
}
136136

137137
let sentryOrg = getEnvVar(SENTRY_ORG);

0 commit comments

Comments
 (0)