Fix issues with paths on different OSes

This commit is contained in:
Ian Murray 2019-04-26 20:13:38 -04:00
parent fd534159c8
commit 7717e8c388
No known key found for this signature in database
GPG key ID: 230C104AD3EC3B49

View file

@ -6,7 +6,7 @@ const fs = require('fs');
module.exports = async function (options) {
options.root = path.normalize(options.root);
options.root = path.resolve(options.root);
if(!fs.existsSync(options.root)) fs.mkdirSync(options.root);
if(options.clientPackage) {