Skip to content
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

Graham readme #66

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
catch
  • Loading branch information
gbooth27 committed Oct 18, 2022
commit b00dce1b3b0bb5f1fc76d786d067264d81dbe685
8 changes: 7 additions & 1 deletion test/fixtures/mocha-hooks.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,13 @@ const paths = require("../utils/paths");
*/
beforeEach("clean the .tmp directory", async () => {
// Delete the .tmp directory, if it exists
await fs.rm(paths.tmp, { recursive: true });
try {
await fs.rm(paths.tmp, { recursive: true });
}
catch (error) {
console.log(error);
}


// Create the home and workspace directories
await fs.mkdir(paths.home, { recursive: true });