Skip to content

Commit

Permalink
ci: Fix script error
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <578567190@qq.com>
  • Loading branch information
fanghuaqi committed Dec 29, 2023
1 parent b8f525a commit a527baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/build_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

for example in os.listdir("examples"):
print("Use PIO to build %s" % (example))
pio_cmd = "pio run -d examples/%s"
pio_cmd = "pio run -d examples/%s" %(example)
print(pio_cmd)
ret = os.system(pio_cmd)
if ret != 0:
Expand Down
2 changes: 1 addition & 1 deletion .github/prepare_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def install_pio_packages(nsdk_url="https://github.com/Nuclei-Software/nuclei-sdk
os.system("pio pkg install -g -p symlink://%s" % (os.getcwd()))
pass

def main():
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Prepare Nuclei Tools and Install PIO Packages.')
parser.add_argument('--sdk', "-s", required=True, default="https://github.com/Nuclei-Software/nuclei-sdk#feature/gd32vw55x", help='URL or PATH of Nuclei SDK')

Expand Down

0 comments on commit a527baf

Please # to comment.