update merge_module script
This commit is contained in:
parent
f97b4aa07a
commit
712047708f
@ -1 +1 @@
|
|||||||
Subproject commit ab7cd980143f70597cfd19173abd95adc8fce71c
|
Subproject commit a820140e0905c091fd724169a68272d9559a5a37
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user