Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-05 13:37:40 +0300
committerJeff King <peff@peff.net>2022-10-05 16:27:57 +0300
commitdae2cc6923a238a7691470ffe519132708c44be4 (patch)
treeccd66c001daf7a057f211ffcaeb7f3bcce93b427
parent90862be2a67de316fbe032f599df130958eab116 (diff)
run rubocop --autocorrect --only Style/ParenthesesAroundCondition
-rw-r--r--lib/tasks/book2.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/book2.rake b/lib/tasks/book2.rake
index c6c698f1..e477b5b4 100644
--- a/lib/tasks/book2.rake
+++ b/lib/tasks/book2.rake
@@ -256,7 +256,7 @@ end
desc "Generate book html directly from git repo"
task local_genbook2: :environment do
- if (ENV["GENLANG"] && ENV["GENPATH"])
+ if ENV["GENLANG"] && ENV["GENPATH"]
genbook(ENV["GENLANG"]) do |filename|
File.open(File.join(ENV["GENPATH"], filename), "r") { |infile| File.read(infile) }
end