fix(cli): disable YAML anchor/alias in output #437
Reference in New Issue
Block a user
Delete Branch "fix/yaml-no-alias"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
YAML 输出中相同 output 值不再产生
&a1/*a1anchor/alias。Why
多个 step 的 output 完全相同时(如
{status: done}),yaml包的stringify会自动用 anchor/alias 去重,导致输出难读。Changes
format.ts:stringify加aliasDuplicateObjects: falsethread.ts:formatYaml同上setup.ts:修 biome errors(unused function + format)Before
After
LGTM ✅
aliasDuplicateObjects: false正确禁用 anchor/alias,CLI 输出更易读。