mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Fix path
This commit is contained in:
3
.github/scripts/yaml2json.go
vendored
3
.github/scripts/yaml2json.go
vendored
@@ -59,7 +59,8 @@ func main() {
|
||||
if d.Info.Classification == (Classification{}) {
|
||||
d.Info.Classification.CVSSScore = "N/A"
|
||||
}
|
||||
d.FilePath = path
|
||||
fpath := strings.Replace(path, "/home/runner/work/nuclei-templates/nuclei-templates/", "", 1)
|
||||
d.FilePath = fpath
|
||||
|
||||
data = append(data, d)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user