Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix people who use gh instead of env vars (#41418)
Conrad Irwin5192233b596a
diff --git a/script/get-preview-channel-changes b/script/get-preview-channel-changesindex d1ca705736c..6ba274eabc1 100755--- a/script/get-preview-channel-changes+++ b/script/get-preview-channel-changes@@ -1,7 +1,7 @@#!/usr/bin/env node --redirect-warnings=/dev/nullconst { execFileSync } = require("child_process");-const { GITHUB_ACCESS_TOKEN } = process.env;+let { GITHUB_ACCESS_TOKEN } = process.env;const GITHUB_URL = "https://github.com";const SKIPPABLE_NOTE_REGEX = /^\s*-?\s*n\/?a\s*/ims;const PULL_REQUEST_WEB_URL = "https://github.com/zed-industries/zed/pull";diff --git a/script/get-stable-channel-release-notes b/script/get-stable-channel-release-notesindex b16bc9e41f3..cbaf6497eee 100755--- a/script/get-stable-channel-release-notes+++ b/script/get-stable-channel-release-notes@@ -13,7 +13,7 @@// stable that didn't make it into a release, as they were cherry pickedconst { execFileSync } = require("child_process");-const { GITHUB_ACCESS_TOKEN } = process.env;+let { GITHUB_ACCESS_TOKEN } = process.env;const GITHUB_TAGS_API_URL = "https://api.github.com/repos/zed-industries/zed/releases/tags";const DIVIDER = "-".repeat(80);