Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[refactoring] Use fs instead of path for node v0.8.x
  • Loading branch information
ben-lin committed Jul 23, 2012
1 parent fefb524 commit 3eb2117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node.packer/run.js
Expand Up @@ -52,7 +52,7 @@ var flow = new Flow({

// check if the dir exist, if it does remove it
flow.series( function ( args, next ){
if( path.existsSync( target_dir )){
if( fs.existsSync( target_dir )){
rmdir( target_dir, function ( err, dirs, files ){
if( err ) throw err;
next();
Expand Down

0 comments on commit 3eb2117

Please sign in to comment.