Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[refactoring] Use `fs` instead of `path` for node v0.8.x

  • Loading branch information...
commit 3eb21176ab9972246345f1a378f578ec29803782 1 parent fefb524
@ben-lin ben-lin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/node.packer/run.js
View
2  examples/node.packer/run.js
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.