Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 3bce13f

Browse files
benchmark: fix temp dir creation (graphql#2891)
1 parent 4c56041 commit 3bce13f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/benchmark.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function exec(command, options = {}) {
3131
// and returns path to its 'dist' directory.
3232
function prepareBenchmarkProjects(revisionList) {
3333
const tmpDir = path.join(os.tmpdir(), 'graphql-js-benchmark');
34+
fs.rmdirSync(tmpDir, { recursive: true, force: true });
3435
fs.mkdirSync(tmpDir);
3536

3637
const setupDir = path.join(tmpDir, 'setup');

0 commit comments

Comments
 (0)