Skip to content

Commit

Permalink
Make example.js run.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorton committed Jun 2, 2011
1 parent adcc064 commit 72bb88c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example.js
Expand Up @@ -3,7 +3,7 @@ var fs = require('fs'),
Orderly = require('./orderly'),
orderly = new Orderly();

orderly.queue(['.', './example'])
orderly.queue(['/etc', '/home'])
// Error must be defined before process
.error(function (err) {
console.log(err);
Expand All @@ -19,4 +19,5 @@ orderly.queue(['.', './example'])
})
.complete(function (files, err) {
console.log(files);
});
})
.run();

0 comments on commit 72bb88c

Please sign in to comment.