fix(docs): lot of misspelling (#1180) [skip ci]
This commit is contained in:
@@ -5,8 +5,8 @@ const git = require("simple-git")(path.join(__dirname, ".."))
|
||||
//Edited files list
|
||||
const diff = async () => (await git.diff(["origin/master...", "--name-status"])).split("\n").map(x => x.trim()).filter(x => /^M\s+/.test(x)).map(x => x.replace(/^M\s+/, ""))
|
||||
|
||||
//Files editions
|
||||
describe("Check files editions (checkout your files if needed)", () => {
|
||||
//File changes
|
||||
describe("Check file changes (checkout your files if needed)", () => {
|
||||
describe("Auto-generated files were not modified", () =>
|
||||
void test.each([
|
||||
"README.md",
|
||||
@@ -42,7 +42,7 @@ describe("Check files editions (checkout your files if needed)", () => {
|
||||
}
|
||||
})
|
||||
|
||||
//Templates editions
|
||||
describe("Check templates editions", () => {
|
||||
//Template changes
|
||||
describe("Check template changes", () => {
|
||||
test("Use community templates instead (see https://github.com/lowlighter/metrics/tree/master/source/templates/community)", async () => void expect((await diff()).filter(edited => /^sources[/]templates[/]/.test(edited) && /^source[/]templates[/](?:classic|terminal|markdown|repository|community)[/][\s\S]*$/.test(edited)).length).toBe(0))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user