Allow cwd
and localDir
options to be URLs
#492
Merged
cwd
and localDir
options to be URLs
#492