Skip to content

Commit

Permalink
fix: align UUID pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekyEggo committed Feb 19, 2024
1 parent 13da521 commit c59fcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream-deck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function getSafeValue(value: string | undefined): string | undefined {
.toLowerCase()
.replaceAll(" ", "-")
.replaceAll("_", "-")
.replaceAll(/[^-a-z0-9]/g, "");
.replaceAll(/[^a-z0-9-]/g, "");

return safeValue !== "" ? safeValue : undefined;
}
Expand Down

0 comments on commit c59fcc7

Please sign in to comment.