The open source coding agent.
TypeScript
ci: ignore
Aiden Clineee87e1f139a2
diff --git a/script/sync-zed.ts b/script/sync-zed.tsindex 35d1b75391e..7f194531309 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`