Browse Source

Loop do, yo.

Pearce Barry 2 years ago
parent
commit
f458f214db
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/resource/dev_checks.rc

+ 1
- 1
scripts/resource/dev_checks.rc View File

@@ -20,7 +20,7 @@
20 20
 @job_ids = []
21 21
 
22 22
 def wait_until_jobs_done
23
-    while true
23
+    loop do
24 24
         @job_ids.each do |job_id|
25 25
             current_job_ids = framework.jobs.keys.map { |e| e.to_i }
26 26
             sleep 1 if current_job_ids.include?(job_id)

Loading…
Cancel
Save