Skip to content

Commit adcefcc

Browse files
authored
chore(bundling): rename env vars so we do not cause Nx Cloud connection errors (#27681)
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
1 parent be37c35 commit adcefcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e/esbuild/src/esbuild.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,16 @@ describe('EsBuild Plugin', () => {
241241
updateFile(
242242
`libs/${myPkg}/src/index.ts`,
243243
`
244-
console.log(process.env['NX_CLOUD_ENCRYPTION_KEY']);
245-
console.log(process.env['NX_CLOUD_ACCESS_TOKEN']);
244+
console.log(process.env['NX_SOME_SECRET']);
245+
console.log(process.env['NX_SOME_TOKEN']);
246246
console.log(process.env['NX_PUBLIC_TEST']);
247247
`
248248
);
249249

250250
runCLI(`build ${myPkg} --platform=browser`, {
251251
env: {
252-
NX_CLOUD_ENCRYPTION_KEY: 'secret',
253-
NX_CLOUD_ACCESS_TOKEN: 'secret',
252+
NX_SOME_SECRET: 'secret',
253+
NX_SOME_TOKEN: 'secret',
254254
NX_PUBLIC_TEST: 'foobar',
255255
},
256256
});

0 commit comments

Comments
 (0)