MCPcopy Index your code
hub / github.com/MALSync/MALSync / ex

Function ex

webpackConfig/missingPermissions.js:94–106  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

92}
93
94async function ex(command) {
95 return new Promise((resolve, reject) => {
96 exec(command, (error, stdout, stderr) => {
97 if (error) {
98 return reject(error);
99 }
100 if (stderr) {
101 return reject(stderr);
102 }
103 resolve(stdout);
104 });
105 });
106}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected