mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-14 14:17:38 +00:00
fixes
This commit is contained in:
1 parent
7f6467ea41
commit
55b60ba3f7
2 files changed
+3
-7
No files matched your search
@@ -36,10 +36,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: git clone https://github.com/is-a-dev/register.git register-${{ github.run_id }}
|
- name: Clone is-a-dev/register
|
||||||
|
run: git clone https://github.com/is-a-dev/register.git register-${{ github.run_id }}
|
||||||
- run: ls domains -1 | wc -l
|
|
||||||
- run: ls register-${{ github.run_id }}/domains -1 | wc -l
|
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|
||||||
|
|||||||
+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 headDomainsFiles = fs.readdirSync(headDomainsPath);
|
||||||
|
|
||||||
const newFiles = headDomainsFiles.filter((file) => !fs.existsSync(path.join(domainsPath, file)));
|
const newFiles = domainsPath.filter((file) => !fs.existsSync(path.join(headDomainsFiles, file)));
|
||||||
|
|
||||||
console.log("New files", newFiles);
|
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
newFiles.map(async (file) => {
|
newFiles.map(async (file) => {
|
||||||
|
|||||||
Reference in new issue
Block a user