From ee87e1f139a25ad2e748b79e44d06cad17858ad2 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sun, 9 Nov 2025 12:54:22 -0600 Subject: [PATCH] ci: ignore --- script/sync-zed.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/sync-zed.ts b/script/sync-zed.ts index 35d1b753..7f194531 100644 --- a/script/sync-zed.ts +++ b/script/sync-zed.ts @@ -74,6 +74,10 @@ async function main() { const versionRegex = new RegExp(`(\\[${EXTENSION_NAME}\\]\\s+(?:.*\\s*)?)version = "[^"]+"`) const updatedToml = extensionsToml.replace(versionRegex, `$1version = "${cleanVersion}"`) + if (updatedToml === extensionsToml) { + throw new Error(`Failed to update version in extensions.toml - pattern not found`) + } + await Bun.write(extensionsTomlPath, updatedToml) await $`git add extensions.toml`