grunt-sonar-runner
Advanced tools
Comparing version 2.4.1 to 2.4.2
{ | ||
"name": "grunt-sonar-runner", | ||
"description": "Sonar Analysis Runner from grunt. The major version is kept in sync with sonar runner distribution version.", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"homepage": "https://github.com/skhatri/grunt-sonar-runner", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -78,3 +78,9 @@ # grunt-sonar-runner | ||
#### options.maxBuffer | ||
Type: `Number` | ||
Default value: `'null'` | ||
maxBuffer specifies the largest amount of data allowed on stdout or stderr - if this value is exceeded then the child process is killed and an error returned from sonar-runner. See: [child_process.exec()](http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback) | ||
#### options.sonar.host.url | ||
@@ -81,0 +87,0 @@ Type: `String` |
@@ -81,3 +81,9 @@ /* | ||
var execCmd = dryRun ? LIST_CMD : SONAR_RUNNER_COMMAND; | ||
var exec = childProcess.exec(execCmd, callback); | ||
grunt.log.writeln("sonar-runner exec: " + SONAR_RUNNER_COMMAND); | ||
var exec = childProcess.exec(execCmd, | ||
options.maxBuffer ? { maxBuffer: options.maxBuffer } : {}, | ||
callback); | ||
exec.stdout.on('data', function (c) { | ||
@@ -84,0 +90,0 @@ grunt.log.write(c); |
301651
203
209