Skip to content

Commit 6f341e1

Browse files
committed
Do not use process.env.DEV_VERSION_IDENTIFIER if it is an empty string
1 parent ae127af commit 6f341e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/compass-e2e-tests/smoke-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const argv = yargs(hideBin(process.argv))
3737
// For dev versions we need this from evergreen. For beta or stable (or by
3838
// default, ie. when testing a locally packaged app) we get it from the
3939
// package.json
40-
default: process.env.DEV_VERSION_IDENTIFIER,
40+
// NOTE: DEV_VERSION_IDENTIFIER might be a blank string which would be invalid
41+
default: process.env.DEV_VERSION_IDENTIFIER || undefined,
4142
description:
4243
'Will be read from packages/compass/package.json if not specified',
4344
})

0 commit comments

Comments
 (0)