From ca9c7619c6b8795fdb3e60b90988fad3ef0db471 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 4 Feb 2026 13:40:11 -0800 Subject: [PATCH] fix(docs): remove obsolete buf token (#11513) This pull request makes a small change to the environment variables used when spawning a child process in the `generate-proto-docs.mjs` script. The hardcoded `BUF_TOKEN` environment variable has been removed, and now only the existing environment variables from `process.env` are passed to the child process. - Removed the hardcoded `BUF_TOKEN` from the environment variables when spawning the child process in `generate-proto-docs.mjs`. --- apps/docs/scripts/generate-proto-docs.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/docs/scripts/generate-proto-docs.mjs b/apps/docs/scripts/generate-proto-docs.mjs index 1c6e8cca7..304c821be 100644 --- a/apps/docs/scripts/generate-proto-docs.mjs +++ b/apps/docs/scripts/generate-proto-docs.mjs @@ -161,10 +161,7 @@ async function run() { const child = spawn('npx', args, { cwd: taskTempDir, stdio: 'inherit', - env: { - ...process.env, - BUF_TOKEN: '851d3e2519b882d9e6da46eadec5e3ccc6a966dae0ce5e78dd285d9f912e35fd' - } + env: process.env }); child.on('close', (code) => {