New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(filtering, page, next): editing bugs on NextJS #2090
fix(filtering, page, next): editing bugs on NextJS #2090
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@marcopagliarulo is attempting to deploy a commit to the JNJ Demo Account Team on Vercel. A member of the Team first needs to authorize it. |
return fs | ||
.readdirSync(dir) | ||
.filter((file) => fs.statSync(`${dir}/${file}`).isDirectory()); | ||
} catch (error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What error are we ignoring here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we check for subdirs, if there is any error, returns an empty array.
Changes
Test Instructions
Related Issues