From 3d464bfae9e8b80d3fa5a42fcdd136302d3d5daf Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Tue, 16 Feb 2021 13:42:12 +0100 Subject: [PATCH] Update ci.test.js --- tests/ci.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci.test.js b/tests/ci.test.js index 2dd12367..4c0bb280 100644 --- a/tests/ci.test.js +++ b/tests/ci.test.js @@ -3,7 +3,7 @@ const git = require("simple-git")(path.join(__dirname, "..")) //Check generated files editions - const diff = async () => (await git.diff("master...", ["--name-status"])).split("\n").map(x => x.trim()).filter(x => /^M\s+/.test(x)).map(x => x.replace(/^M\s+/, "")) + 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+/, "")) describe('Auto-generated files were not modified (use "git checkout @ -- file" if needed)', () => void test.each([ "README.md", "source/plugins/README.md",