improve reamde

This commit is contained in:
2016-07-04 00:13:32 +02:00
parent e07f5717c8
commit 4e12b7ee3b
6 changed files with 18 additions and 10 deletions

View File

@ -8,6 +8,7 @@ export let pull = (dirPathArg:string,sourceArg:string = "", branchArg:string = "
done.reject();
return done.promse;
};
// if everything is allright proceed
plugins.shelljs.exec(`(cd ${dirPathArg} && git pull ${sourceArg} ${branchArg})`);
done.resolve(dirPathArg);
return done.promise;