zixulu 1.73.6 → 1.73.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4242,8 +4242,7 @@ async function sortPackageJson() {
4242
4242
  async function asyncAgentRules() {
4243
4243
  try {
4244
4244
  const packageJson = await readPackageJson();
4245
- packageJson.scripts ??= {};
4246
- packageJson.scripts.ucr = "npx zixulu acr";
4245
+ if (packageJson?.scripts?.ucr === "npx zixulu acr") packageJson.scripts.ucr = void 0;
4247
4246
  await writePackageJson({
4248
4247
  data: packageJson
4249
4248
  });