mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
template path fix in workflow (#6432)
This commit is contained in:
4
.github/scripts/wordpress-plugins-update.py
vendored
4
.github/scripts/wordpress-plugins-update.py
vendored
@@ -160,13 +160,13 @@ requests:
|
||||
- '(?i)Stable.tag:\s?([\w.]+)'
|
||||
'''
|
||||
version_file = open(
|
||||
f"./nuclei-templates/helpers/wordpress/plugins/{name}.txt", "w")
|
||||
f"helpers/wordpress/plugins/{name}.txt", "w")
|
||||
version_file.write(version)
|
||||
version_file.close()
|
||||
|
||||
# print(template)
|
||||
template_file = open(
|
||||
f"./nuclei-templates/technologies/wordpress/plugins/{name}.yaml", "w")
|
||||
f"technologies/wordpress/plugins/{name}.yaml", "w")
|
||||
template_file.write(template)
|
||||
template_file.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user