fix: check `fs.promise` before using it
Add a simple check for fs.promise
API otherwise the user will always get "Error: target directory alreay exists."
error if his/her node version is below v10.0.
Add a simple check for fs.promise
API otherwise the user will always get "Error: target directory alreay exists."
error if his/her node version is below v10.0.