chore: skip Circle env canary check unless in Docker (#23467)

This commit is contained in:
Zach Bloomquist
2022-08-19 13:40:27 -04:00
committed by GitHub
parent 97551d7920
commit 6e18996d02
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ async function checkReportFiles (filenames) {
circleEnv = await readCircleEnv()
} catch (err) {
// set SKIP_CIRCLE_ENV to bypass, for local development
if (!process.env.SKIP_CIRCLE_ENV) throw err
if (!process.env.SKIP_CIRCLE_ENV && process.env.CI_DOCKER) throw err
circleEnv = {}
}