MCPcopy
hub / github.com/dthree/vorpal / exec

Function exec

test/integration.js:103–110  ·  view source on GitHub ↗
(cmd, done, cb)

Source from the content-addressed store, hash-verified

101 });
102
103 var exec = function (cmd, done, cb) {
104 vorpal.exec(cmd).then(function (data) {
105 cb(undefined, data);
106 }).catch(function (err) {
107 console.log(err);
108 done(err);
109 });
110 };
111
112 describe('promise execution', function () {
113 it('should not fail', function (done) {

Callers 1

integration.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…