From f7ced95254a886e6a812a3b968575b5c77088237 Mon Sep 17 00:00:00 2001 From: Yudai Takada Date: Fri, 18 Oct 2024 01:06:40 +0900 Subject: [PATCH] Update Rakefile Co-authored-by: Benjamin Quorning <22333+bquorning@users.noreply.github.com> --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1b2bb15f2..88ab6535e 100644 --- a/Rakefile +++ b/Rakefile @@ -75,7 +75,7 @@ task confirm_documentation: :generate_cops_documentation do stdout, _stderr, status = Open3.capture3('git diff --exit-code docs/') - unless process.to_i.zero? + unless status.success? puts 'Documentation is out of sync:' puts stdin raise 'Please run `rake generate_cops_documentation` ' \