Skip to content

Commit

Permalink
fix: checking e2e examples
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Jul 16, 2024
1 parent 523524b commit 057cc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/e2e-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const getProjectsWithE2E = () => {
return EXAMPLES.split(",")
.map((path) => {
const dir = pathJoin("./cypress/e2e", path);
const isDirectory = fs.statSync(dir).isDirectory();
const isDirectory = fs.existsSync(dir);

if (isDirectory) {
return path;
Expand Down

0 comments on commit 057cc58

Please sign in to comment.