From 7a1400cc4b819b02b7ccf13eba9d6a0d974cc079 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 3 Nov 2016 04:46:37 +0800 Subject: [PATCH] Remove undefined variable. --- lib/tasks/qunit.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake index 5aa1d790127..f3ec75b8db5 100644 --- a/lib/tasks/qunit.rake +++ b/lib/tasks/qunit.rake @@ -60,7 +60,7 @@ task "qunit:test" => :environment do # A bit of a hack until we can figure this out on Travis tries = 0 - while tries < 3 && $?.exitstatus == 124 && !quit + while tries < 3 && $?.exitstatus == 124 tries += 1 puts "\nTimed Out. Trying again...\n" rake_system(cmd)