mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-26 13:18:34 +07:00
fix: sys.exit
This commit is contained in:
1
en/test.mdx
Normal file
1
en/test.mdx
Normal file
@@ -0,0 +1 @@
|
||||
hi
|
||||
@@ -3,7 +3,6 @@ import os
|
||||
import re
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
import sys # Import sys for system-specific parameters and functions, e.g., sys.exit()
|
||||
|
||||
# --- Script Base Paths ---
|
||||
SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
|
||||
@@ -69,9 +69,6 @@ def main():
|
||||
set_github_output("detailed_message", total_message)
|
||||
set_github_output("success_count", str(success_count))
|
||||
set_github_output("error_count", str(error_count))
|
||||
|
||||
if error_count > 0:
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -69,9 +69,6 @@ def main():
|
||||
set_github_output("detailed_message", total_message)
|
||||
set_github_output("success_count", str(success_count))
|
||||
set_github_output("error_count", str(error_count))
|
||||
|
||||
if error_count > 0:
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user