grunt-sonar-runner
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -58,3 +58,3 @@ /* | ||
dryRun: true, | ||
debug: false, | ||
debug: true, | ||
separator: '\n', | ||
@@ -73,3 +73,4 @@ sonar: { | ||
projectVersion: '0.10', | ||
sources: ['test'].join(',') | ||
sources: ['test'].join(','), | ||
exclusions: '**/R.js' | ||
} | ||
@@ -76,0 +77,0 @@ } |
{ | ||
"name": "grunt-sonar-runner", | ||
"description": "Sonar Analysis Runner from grunt. The major version is kept in sync with sonar runner distribution version.", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"homepage": "https://github.com/skhatri/grunt-sonar-runner", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -147,3 +147,3 @@ # grunt-sonar-runner | ||
#### options.sonar.exclusions | ||
Type: `[String]` | ||
Type: `String` or `[String]` | ||
Default value: null | ||
@@ -155,3 +155,2 @@ | ||
### Usage Examples | ||
@@ -158,0 +157,0 @@ |
@@ -50,3 +50,3 @@ /* | ||
options.sonar.host = options.sonar.host || {url: 'http://localhost:9000'}; | ||
if (options.sonar.exclusions !== undefined) { | ||
if (Array.isArray(options.sonar.exclusions)) { | ||
options.sonar.exclusions = options.sonar.exclusions.join(','); | ||
@@ -53,0 +53,0 @@ } |
Sorry, the diff of this file is not supported yet
320319
195
195