Commit 14f29b8
authored
Fix assert in VersionedSummarizer (#26034)
## Description
Fix invalid assert.
This used to error with:
> $ pnpm run policy-check:asserts
> ...
> ERROR: Template expressions are not supported in assertions (they'll
be replaced by a short code anyway). Use a string literal instead.
> .../packages/dds/tree/src/shared-tree-core/versionedSummarizer.ts:47
This uses the newish debug message provider to preserve the more
detailed message for debug builds while allowing the production one to
be tagged.1 parent 1c07ca1 commit 14f29b8
File tree
1 file changed
+2
-1
lines changed1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments