Open
Description
At the moment, I require and run the module like so:
const git = require('simple-git/promise')(dir);
And I have another user on my system who uses the interchangeable dir
variable. Issue is, my user doesn't have access to the other user, but sudo does. So how would I require git via sudo without launching the process under sudo?