ryanmcgrath/wrench-js — Issue #9: rmdirSyncRecursive silent fail
Author: geddesign
Created: 2012-01-06 22:41:51+00:00
State: open

Hi there. I have a case where I'm using `wrench.rmdirSyncRecursive('my/folder');` as part of a build phase for deleting a folder that may or may not exist. If the folder doesn't exist, wrench blows up with a `no such file or directory` error. I can easily surround the use of wrench with a `try/catch` but even slicker would be a 'failsilent' option or something. `wrench.rmdirSyncRecursive('my/folder', true);` Thoughts?