修正一下lint的提示信息。
This commit is contained in:
2
.github/manual_lint.js
vendored
2
.github/manual_lint.js
vendored
@@ -78,7 +78,7 @@ async function main() {
|
|||||||
var mustHave = '如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。';
|
var mustHave = '如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。';
|
||||||
var mustHaveIndex = dataLines.indexOf(mustHave);
|
var mustHaveIndex = dataLines.indexOf(mustHave);
|
||||||
if (mustHaveIndex < 0) {
|
if (mustHaveIndex < 0) {
|
||||||
errors.push(`文件 ${filePath} 不符合仓库的规范! 它没有包含必需的附加内容!,需要添加【如果您遵循本指南的制作流程而发现有……】这段`);
|
errors.push(`文件 ${filePath} 不符合仓库的规范! 它没有包含必需的附加内容!,需要在最后一行添加模板中的【如果您遵循本指南的制作流程而发现有……】`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user