Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
fix: throw error on other types of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 16, 2020
1 parent a26241b commit 1a5ea24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/create-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export default function createRunner(options = {}, configFunc) {
if (err.code === "ENOENT") {
const message = `Skipping ${fullPath} from testPaths as no such file or directory found`;
setupView.update({ message });
} else {
throw err
}
return null;
}
Expand Down

0 comments on commit 1a5ea24

Please sign in to comment.