Skip to content

Commit

Permalink
Refs`
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Jun 1, 2022
1 parent ccc6564 commit f92534c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def check_zap(master=False) -> str:
shell.run_cmd(f"cd {_REPO_BASE_PATH}")
if master:
flush_print("Fetching master")
shell.run_cmd(f"git fetch origin master")
command = "git fetch origin master --depth=1 --recurse-submodules"
shell.run_cmd(command)
branch = "master"
else:
branch = shell.run_cmd("git rev-parse --abbrev-ref HEAD",
Expand Down

0 comments on commit f92534c

Please sign in to comment.