{"version":"2.1.280","anchor":"customizable-cut-warning-text-for-a-dir-sync-arming-flow","canonical_anchor":"customizable-cut-warning-text-for-a-dir-sync-arming-flow","heading":"Customizable 'cut' warning text for a dir-sync arming flow","tier":"internal","area":"Directory Sync","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/customizable-cut-warning-text-for-a-dir-sync-arming-flow","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Customizable 'cut' warning text for a dir-sync arming flow\n\nFolder-sync's 'cut' and 'arming' warning messages can now be customized instead of using fixed text\n\n**What**\n\nIn a state machine that manages an arming\/exit flow (likely for directory sync), the \"cut\" case now returns a caller-supplied `cutShortLine` warning message, where before it only logged internally and returned nothing to show. The \"arming\" default case now uses a caller-supplied `cutBeforeArmedLine`, falling back to a fixed constant if none is supplied.\n\n**Why**\n\nThis lets callers customize the warning text shown at these points in the flow instead of being stuck with one fixed message or no message at all.\n\n- Area: Directory Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}