fix(claws): align agent removal preconditions

This commit is contained in:
Patrick Erichsen
2026-07-20 14:11:46 -07:00
parent cbd57af8f5
commit 23d8a8cc5c
+1 -1
View File
@@ -130,7 +130,7 @@ export async function claimClawAgentConfigRemoval(params: {
nextConfig: committed.nextConfig,
};
} catch (error) {
if (!(error instanceof AgentConfigPreconditionError) || error.kind !== "not-found") {
if (!(error instanceof AgentConfigPreconditionError)) {
throw error;
}
const latestConfig = getRuntimeConfig();