mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-09-03 04:18:18 +00:00
Update pr.test.js
This commit is contained in:
@@ -51,6 +51,8 @@ t("New JSON files must be owned by the PR author", async (t) => {
|
||||
|
||||
const headDomainsFiles = fs.readdirSync(headDomainsPath);
|
||||
|
||||
console.log("Head files", headDomainsFiles);
|
||||
|
||||
const newFiles = MODIFIED_FILES.filter((file) => !headDomainsFiles.includes(file.substring(file.lastIndexOf("/") + 1)));
|
||||
|
||||
console.log("New files", newFiles);
|
||||
|
||||
Reference in New Issue
Block a user