diff options
author | Jeff King <peff@peff.net> | 2022-10-05 13:37:40 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 16:27:57 +0300 |
commit | dae2cc6923a238a7691470ffe519132708c44be4 (patch) | |
tree | ccd66c001daf7a057f211ffcaeb7f3bcce93b427 | |
parent | 90862be2a67de316fbe032f599df130958eab116 (diff) |
run rubocop --autocorrect --only Style/ParenthesesAroundCondition
-rw-r--r-- | lib/tasks/book2.rake | 2 |
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 |