From dd04def10f22296c9a98b4d796c100b9ad4e2388 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 21 Jul 2023 21:07:04 -0700 Subject: [PATCH] Try to fix NoMethodError on update-deps --- tool/update-deps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/update-deps b/tool/update-deps index 86e359c0d0..c79a8a61c5 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -480,7 +480,7 @@ def compare_deps(make_deps, cc_deps, out=$stdout) } } - makefiles.keys.sort.each {|makefile| + makefiles.keys.compact.sort.each {|makefile| cc_lines = cc_lines_hash[makefile] || Hash.new(false) make_lines = make_lines_hash[makefile] || Hash.new(false) content = begin