Skip to content

Commit

Permalink
fix: fakePathの正規表現を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Jan 18, 2025
1 parent 67411ce commit c660368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/browser/fakePath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { uuid4 } from "@/helpers/random";

const fakePathSchema = z
.string()
.regex(/^<browser-dummy-[0-9a-f]+>-.+$/)
.regex(/^<browser-dummy-[-0-9a-f]+>-.+$/)
.brand("FakePath");
export type FakePath = z.infer<typeof fakePathSchema>;

Expand Down

0 comments on commit c660368

Please sign in to comment.