Explorar el Código

Fix frontend dependency audit tasks

tags/9.2.0.49834
Philippe Perrin hace 2 años
padre
commit
4764c30e61
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2
    2
      server/sonar-docs/build.gradle
  2. 2
    2
      server/sonar-web/build.gradle

+ 2
- 2
server/sonar-docs/build.gradle Ver fichero

@@ -98,10 +98,10 @@ clean.dependsOn(cleanYarn_run)
}

// Check for known vulnerabilities
yarn_audit {
task dependency_audit(type: Exec) {
inputs.file('package.json')
outputs.cacheIf { false }
args = ['--groups', 'dependencies', '--level', 'high']
commandLine 'yarn', 'npm', 'audit', '--environment', 'production', '--severity', 'high'
ignoreExitValue = true
dependsOn(yarn)
}

+ 2
- 2
server/sonar-web/build.gradle Ver fichero

@@ -55,10 +55,10 @@ build.dependsOn(yarn_run)
}

// Check for known vulnerabilities
yarn_audit {
task dependency_audit(type: Exec) {
inputs.file('package.json')
outputs.cacheIf { false }
args = ['--groups', 'dependencies', '--level', 'high']
commandLine 'yarn', 'npm', 'audit', '--environment', 'production', '--severity', 'high'
ignoreExitValue = true
dependsOn(yarn)
}

Cargando…
Cancelar
Guardar