Skip to content

Commit bc22625

Browse files
authored
fix & refactor: CLAとテキストルールのエラーメッセージ修正 / package-lock.jsonの更新処理リファクタリング (#1793)
1 parent 087076b commit bc22625

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CLA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ CLAに同意すると次のことが明確になります。
2929
- 同意して寄付した貢献を後から取り下げないこと
3030
- jsprimerプロジェクトがあなたの貢献を含んだものを商用利用できること
3131

32-
CLAによってあいまいさや不確実性が排除できます
32+
CLAによって曖昧さや不確実性が排除できます
3333
それによってjsprimerプロジェクトが継続してコンテンツを提供でき、読む人も安心して読めます。
3434

3535
CLAを求めること自体は多くのOpen Sourceプロジェクトでも行われています。
36-
ECMAScript、Apache Software Foundation、Facebook、Google、HashicorpなどさまざまなOopen SourceプロジェクトがCLAを求めています。
36+
ECMAScript、Apache Software Foundation、Meta、Google、HashiCorpなどさまざまなOpen SourceプロジェクトがCLAを求めています。
3737

3838
## CLAに同意する方法
3939

textlint/textlint-rule-no-use-column/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (context, options = {}) => {
2626
if (plugOne === "[コラム]") {
2727
return;
2828
}
29-
report(node, new RuleError("「コラム」という表現は文中では使わわないでください", {
29+
report(node, new RuleError("「コラム」という表現は文中では使わないでください", {
3030
index
3131
}));
3232
}

tools/update-package-lock.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Description: This script updates the package-lock.json for aligned with npm version
44
*/
55
import globby from "globby";
6-
import { readFile, writeFile } from "node:fs/promises";
76
import { dirname, join } from "node:path";
87
import { fileURLToPath } from "node:url";
98
import { execFile } from "node:child_process";
@@ -22,7 +21,7 @@ const files = await globby([
2221
for (const file of files) {
2322
const dir = dirname(file);
2423
console.info(`Updating package-lock.json in ${dir}`);
25-
await execFile("npm", ["install"], {
24+
execFile("npm", ["install"], {
2625
cwd: join(projectRoot, dir)
2726
});
2827
console.info(`Updated package-lock.json in ${dir}`);

0 commit comments

Comments
 (0)