template path fix in workflow (#6432)

patch-1
Sandeep Singh 2022-12-26 21:23:08 +05:30 committed by GitHub
parent b34eb17547
commit c06f2dbf73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -160,13 +160,13 @@ requests:
- '(?i)Stable.tag:\s?([\w.]+)' - '(?i)Stable.tag:\s?([\w.]+)'
''' '''
version_file = open( 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.write(version)
version_file.close() version_file.close()
# print(template) # print(template)
template_file = open( 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.write(template)
template_file.close() template_file.close()