Permalink
Browse files

insert missing requires

  • Loading branch information...
1 parent 92d88da commit 5ec3f06490f3362bb0490577e6df7e81312385a1 @substack committed Nov 28, 2011
Showing with 5 additions and 0 deletions.
  1. +1 −0 index.js
  2. +3 −0 lib/util/copydir.js
  3. +1 −0 lib/util/mkdir.js
View
@@ -2,6 +2,7 @@ var mkdirp = require('mkdirp');
var net = require('net');
var path = require('path');
var fs = require('fs');
+var os = require('os');
var logger = require('./logger');
logger.loglevel = 0;
View
@@ -1,9 +1,12 @@
// Warning messsage
var messages = require('./messages');
var mkDir = require('./mkdir');
+var fs = require('fs');
+var path = require('path');
// Copy directory
module.exports = function copyDir(srcPath, dstPath) {
+console.dir([ 'copy', srcPath, dstPath ]);
mkDir(dstPath);
var files = fs.readdirSync(srcPath);
View
@@ -1,4 +1,5 @@
var messages = require('./messages');
+var fs = require('fs');
// Make directory if NOT exist
module.exports = function mkDir (dstPath) {

0 comments on commit 5ec3f06

Please sign in to comment.