From 8cbbc470432456ddc3d2e0e4b05f83cfbee4eaf9 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 24 Feb 2013 09:48:33 -0800 Subject: [PATCH] Ensure all temp folders made during the `--output` build tests are removed. Former-commit-id: d5c98deebd879f594aac73d4b835c97516ee4e89 --- test/test-build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-build.js b/test/test-build.js index 0c3c4ad2d..d39c80e6c 100644 --- a/test/test-build.js +++ b/test/test-build.js @@ -1124,6 +1124,7 @@ var start = _.after(2, _.once(function() { if (dirs) { fs.rmdirSync(nestedPath); + fs.rmdirSync(path.dirname(nestedPath)); } QUnit.start(); }));