refactor(e2e): replace S3 bucket name check with explicit SHUMAI_E2E env flag

This commit is contained in:
yiling
2026-07-10 20:11:54 +08:00
parent 4e9fae96b1
commit 13f220ef0f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ async function run() {
process.on('SIGTERM', shutdown)
}
if (process.env.S3_BUCKET && process.env.S3_BUCKET.startsWith('shumai-e2e')) {
if (process.env.SHUMAI_E2E === 'true') {
run().catch((err) => {
console.error(err)
process.exit(1)