Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing test

  • Loading branch information...
commit d0dc6167af051380bd38eb3fe948f33238017bd4 1 parent fb8ebb2
@geek geek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/monitor.js
View
2  test/monitor.js
@@ -32,7 +32,7 @@ describe('Monitor', function () {
Fs.readdir(folderPath, function (err, files) {
- while (files.length) {
+ while (files && files.length) {
Fs.unlinkSync(Path.join(folderPath, files.pop()));
};
Please sign in to comment.
Something went wrong with that request. Please try again.