Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/hygiene/check-no-op-cadence-pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export function collectShards(dir: string, dateFlat: string): Shard[] {
const m2 = name.match(/^(\d{6})Z-([0-9a-f]+)\.md$/);
if (m2) {
shards.push({
primary: `${dateFlat}${m2[1]}`,
disamb: m2[2],
primary: `${dateFlat}${m2[1] ?? ""}`,
disamb: m2[2] ?? "",
Comment thread
AceHack marked this conversation as resolved.
Outdated
path: join(dir, name),
});
}
Expand Down
Loading