Skip to content

Commit 43d6480

Browse files
committed
fix
1 parent 6432b15 commit 43d6480

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eval/scripts/generate-dataset.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getRuleTest } from "create-textlint-rule-example";
2-
import fs from "fs/promises";
3-
import path from "path";
4-
import { fileURLToPath } from "url";
2+
import fs from "node:fs/promises";
3+
import path from "node:path";
4+
import { fileURLToPath } from "node:url";
55

66
const __filename = fileURLToPath(import.meta.url);
77
const __dirname = path.dirname(__filename);
@@ -24,7 +24,7 @@ console.log(`抽出されたテストケース: valid=${results.valid.length}, i
2424
const dataset = results.invalid.map((testCase, index) => {
2525
// エラーメッセージを取得
2626
const errorMessage = testCase.errors[0]?.message || "";
27-
27+
2828
return {
2929
text: testCase.text,
3030
errorMessage: errorMessage,

0 commit comments

Comments
 (0)