Skip to content

Commit 7c60c17

Browse files
committed
conditional code
1 parent 6167a21 commit 7c60c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
if [ -f "$meta_req_file" ] && [ -f "$test_req_file" ]; then
4949
coll_req_file="${{ github.workspace }}/req.yml"
5050
python -c 'import sys; import yaml
51-
hsh1 = yaml.safe_load(open(sys.argv[0])
52-
hsh2 = yaml.safe_load(open(sys.argv[1])
51+
hsh1 = yaml.safe_load(open(sys.argv[0]))
52+
hsh2 = yaml.safe_load(open(sys.argv[1]))
5353
coll = list(set(hsh1["collections"]).union(hsh2["collections"]))
5454
hsh1["collections"] = coll
5555
yaml.safe_dump(hsh1, open(sys.argv[2], "w"))' "$meta_req_file" "$test_req_file" "$coll_req_file"

0 commit comments

Comments
 (0)