Skip to content

Commit ec14be7

Browse files
idangozlanantonislucas-zimerman
authored
fixed broken envs load (#5210)
Co-authored-by: Antonis Lilis <[email protected]> Co-authored-by: LucasZF <[email protected]>
1 parent cba5aef commit ec14be7

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)