Skip to content

Commit

Permalink
Always change back to orig dir
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstallard committed Jun 13, 2013
1 parent df20fa7 commit bdd8d7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/modest.js
Expand Up @@ -47,12 +47,10 @@ function compile(params){
});

async.series(series, function(err){
process.chdir(origPath);
if (err) {
throw(err);
}
else {
process.chdir(origPath);
}
});

}
Expand Down

0 comments on commit bdd8d7f

Please sign in to comment.