diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-02 20:30:54 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-02 20:30:54 +0200 |
commit | 461c1c278ba042a1034f34098186f71e821d75b1 (patch) | |
tree | 455cbb38a47dfe89e61b79c134b4448324297ce9 | |
parent | 6491400c6c0a6e4ad851489bdd6966ec091b8420 (diff) | |
download | wumpus-hunter-461c1c278ba042a1034f34098186f71e821d75b1.tar.gz |
fix: pull updates to code inside loop, not outside loop
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rwxr-xr-x | wumpus-hunter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wumpus-hunter b/wumpus-hunter index fc2f111..b03ad1c 100755 --- a/wumpus-hunter +++ b/wumpus-hunter @@ -230,11 +230,11 @@ def count(counts, stats): def main(): args = parse_args() setup_logging(args.log) - commit = get_code(args.url, args.ref, args.dir) logging.debug(f"url: {args.url}") logging.debug(f"ref: {args.ref}") logging.debug(f"dir: {args.dir}") try: + commit = get_code(args.url, args.ref, args.dir) build(args.dir) run_tests(args.dir, args.test) record_success(args.stats, commit) |