mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-17 18:54:26 +08:00
修正戚风蛋糕里一行太长的问题。
This commit is contained in:
2
.github/manual_lint.js
vendored
2
.github/manual_lint.js
vendored
@@ -16,7 +16,7 @@ async function main() {
|
||||
titles = dataLines.filter(t => t.startsWith('#'));
|
||||
secondTitles = titles.filter(t => t.startsWith('## '));
|
||||
|
||||
if (dataLines.filter(line => line.includes(' 勺')).length > 0) {
|
||||
if (dataLines.filter(line => line.includes('勺')).length > 0) {
|
||||
errors.push(`文件 ${filePath} 不符合仓库的规范!勺 不是一个精准的单位!`);
|
||||
}
|
||||
if (dataLines.filter(line => line.includes('适量')).length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user