switch to path.resolve to accept absolute cwd
0.1.21