tasks/lib/run.js
function(inputs, callback) {
      // Remove any empty inputs
      var filteredInputs = RunUtil.filterEmptyInputs(inputs || []);
      runner.run(method.slug, script, {
        input: filteredInputs
      }, function(err, result) {
        if(err) {
          callback(err);
        } else {
          callback(null, result);

        }
      });
    }
function(inputs, callback) {
      // Remove any empty inputs
      var filteredInputs = RunUtil.filterEmptyInputs(inputs || []);
      runner.run(method.slug, script, {
        input: filteredInputs
      }, function(err, result) {
        if(err) {
          callback(err);
        } else {
          callback(null, result);

        }
      });
    }
function ( inputs , callback ) { // Remove any empty inputs var filteredInputs = RunUtil . filterEmptyInputs ( inputs || [ ] ) ; runner . run ( method . slug , script , { input : filteredInputs } , function ( err , result ) { if ( err ) { callback ( err ) ; } else { callback ( null , result ) ; } } ) ; }
Run the script
Run the script