tasks/lib/run.js
function(userScript, callback) {
      // If it's a run script, do some inputs
      script = userScript;
      if((userScript === 'run' || userScript === 'output') &&
         (method.fields.input || method.scripts.input)) {
        var inputs = (method.fields && method.fields.input) || [];
        RunUtil.harvestInputs(grunt, runner, method, inputs, callback);
      } else {
        callback(null, []);
      }
    }
function(userScript, callback) {
      // If it's a run script, do some inputs
      script = userScript;
      if((userScript === 'run' || userScript === 'output') &&
         (method.fields.input || method.scripts.input)) {
        var inputs = (method.fields && method.fields.input) || [];
        RunUtil.harvestInputs(grunt, runner, method, inputs, callback);
      } else {
        callback(null, []);
      }
    }
function ( userScript , callback ) { // If it's a run script, do some inputs script = userScript ; if ( ( userScript === 'run' || userScript === 'output' ) && ( method . fields . input || method . scripts . input ) ) { var inputs = ( method . fields && method . fields . input ) || [ ] ; RunUtil . harvestInputs ( grunt , runner , method , inputs , callback ) ; } else { callback ( null , [ ] ) ; } }
Get some fields
Get some fields