Skip to content

Commit

Permalink
Fixed code execution bug using SafeLoader()
Browse files Browse the repository at this point in the history
  • Loading branch information
Asjidkalam authored and amuraru committed Feb 15, 2021
1 parent 81fb13c commit c3c909a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def setup_repo(repo_path, upstream_repo):

def checkout_repo(repo_path, config_path, get_version):
with open(os.path.expanduser(config_path)) as f:
conf = yaml.load(f, Loader=yaml.FullLoader)
conf = yaml.load(f, Loader=yaml.SafeLoader)

version = get_version(conf)
repo = git.Repo(repo_path, search_parent_directories=True)
Expand Down

0 comments on commit c3c909a

Please sign in to comment.