mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-24 00:28:12 +00:00
fixes
This commit is contained in:
+1
-3
@@ -48,9 +48,7 @@ t("New JSON files must be owned by the PR author", async (t) => {
|
||||
|
||||
const headDomainsFiles = fs.readdirSync(headDomainsPath);
|
||||
|
||||
const newFiles = headDomainsFiles.filter((file) => !fs.existsSync(path.join(domainsPath, file)));
|
||||
|
||||
console.log("New files", newFiles);
|
||||
const newFiles = domainsPath.filter((file) => !fs.existsSync(path.join(headDomainsFiles, file)));
|
||||
|
||||
await Promise.all(
|
||||
newFiles.map(async (file) => {
|
||||
|
||||
Reference in New Issue
Block a user