list-github-dir-content
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -36,3 +36,3 @@ async function api(endpoint, token) { | ||
} else if (item.type === 'dir') { | ||
requests.push(...getDirectoryContentViaContentsApi({ | ||
requests.push(getDirectoryContentViaContentsApi({ | ||
user, | ||
@@ -48,3 +48,3 @@ repository, | ||
return [...files, ...await Promise.all(requests)]; | ||
return [...files, ...await Promise.all(requests)].flat(); | ||
} | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "list-github-dir-content", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "List all the files in a GitHub repo’s directory", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8026