Skip to content

Commit 2d3aeff

Browse files
committed
Biome autofix
1 parent fbad992 commit 2d3aeff

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

bin/docgen/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from "node:path";
22
import * as A from "fp-ts/lib/Array.js";
3-
import * as Ord from "fp-ts/lib/Ord.js";
43
import { pipe } from "fp-ts/lib/function.js";
4+
import * as Ord from "fp-ts/lib/Ord.js";
55
import * as string from "fp-ts/lib/string.js";
66
import { globSync } from "glob";
77

dist/amazonShare.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@
2222
"typescript-eslint": "8.35.0",
2323
"vitest": "3.2.2"
2424
},
25-
"trustedDependencies": ["@biomejs/biome"]
25+
"trustedDependencies": [
26+
"@biomejs/biome"
27+
]
2628
}

src/amazonShare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { copyToClipboard } from "./utils/copyToClipboard";
2121
canonicalURL.search = "";
2222
canonicalURL.hash = "";
2323

24-
const itemIDMatch = /^https:\/\/www.amazon.co.jp\/[^\/]+\/dp\/([^\/]+)/.exec(
24+
const itemIDMatch = /^https:\/\/www.amazon.co.jp\/[^/]+\/dp\/([^/]+)/.exec(
2525
canonicalURL.toString(),
2626
);
2727
if (!itemIDMatch || typeof itemIDMatch[1] !== "string") {

0 commit comments

Comments
 (0)