Skip to content

Commit

Permalink
fix: snoar cloud issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marufrasully committed Aug 21, 2024
1 parent 039a0da commit 4a0918f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xml-views-quick-fix/src/quick-fix-stable-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function getUniqueId(
suffix = 0
): string {
if (existingIds[newId]) {
const match = newId.match(/(\d+)$/);
const match = newId.match(/(\d{1,10})$/);
if (match) {
let num = Number(match[0]);
const len = match[0].length;
Expand Down

0 comments on commit 4a0918f

Please sign in to comment.