update merge_module script
Some checks are pending
Setup Native Action / native (3.12.7) (push) Waiting to run
Setup Native Action / docker (3.12.7) (push) Waiting to run

This commit is contained in:
KaySar12 2025-03-08 10:13:46 +07:00
parent f97b4aa07a
commit 712047708f
2 changed files with 1 additions and 11 deletions

@ -1 +1 @@
Subproject commit ab7cd980143f70597cfd19173abd95adc8fce71c Subproject commit a820140e0905c091fd724169a68272d9559a5a37

View File

@ -22,16 +22,6 @@ root_repo = args.root_repo
# Change to the repository directory # Change to the repository directory
os.chdir(root_repo) os.chdir(root_repo)
# Check if yq is installed
try:
subprocess.run(
["yq", "--version"], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE
)
except FileNotFoundError:
print("yq could not be found. Please install it first.")
exit(1)
# Read YAML file # Read YAML file
with open(yaml_file, "r") as file: with open(yaml_file, "r") as file:
data = yaml.safe_load(file) data = yaml.safe_load(file)