From a827823bd3387e80cca34a70803ce1ced315b758 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 14 Jun 2024 23:35:29 -0300 Subject: [PATCH] Run "rubocop -A" --- nanoc/rules/index.rules | 6 ++++-- nanoc/rules/stream.rules | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nanoc/rules/index.rules b/nanoc/rules/index.rules index 1e6a996..0463ab8 100644 --- a/nanoc/rules/index.rules +++ b/nanoc/rules/index.rules @@ -16,9 +16,11 @@ end compile "/js/main/surah-index.tsx" do filter :webpack, exe: tidy, - depend_on: ["/js/components", + depend_on: [ + "/js/components", "/js/lib/", - "/js/hooks"] + "/js/hooks" + ] write "/js/main/surah-index.js" filter :gzip write "/js/main/surah-index.js.gz" diff --git a/nanoc/rules/stream.rules b/nanoc/rules/stream.rules index 97b2102..2a25e6f 100644 --- a/nanoc/rules/stream.rules +++ b/nanoc/rules/stream.rules @@ -43,7 +43,11 @@ end compile "/js/main/surah-stream.tsx" do filter :webpack, exe: tidy, - depend_on: ["/js/components", "/js/lib/", "/js/hooks"] + depend_on: [ + "/js/components", + "/js/lib/", + "/js/hooks" + ] write "/js/main/surah-stream.js" filter :gzip write "/js/main/surah-stream.js.gz"