mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-14 03:32:22 +08:00
Replace spaces with underscore in job correlator
This commit is contained in:
@@ -171,5 +171,8 @@ function describeMatrix(matrixJson: string): string {
|
||||
}
|
||||
|
||||
function sanitize(value: string): string {
|
||||
return value.replace(/[^a-zA-Z0-9_-]/g, '').toLowerCase()
|
||||
return value
|
||||
.replace(/[^a-zA-Z0-9_-\s]/g, '')
|
||||
.replace(/\s+/g, '_')
|
||||
.toLowerCase()
|
||||
}
|
||||
|
Reference in New Issue
Block a user