[devdocsgjs/main: 654/1867] Formatting




commit 52e982b5e79c81185df9640dcbaedbd7af8ba327
Author: Jasper van Merle <jaspervmerle gmail com>
Date:   Wed Jul 10 22:43:52 2019 +0200

    Formatting

 lib/app.rb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/lib/app.rb b/lib/app.rb
index d193fa6a..b9c5bada 100644
--- a/lib/app.rb
+++ b/lib/app.rb
@@ -215,18 +215,18 @@ class App < Sinatra::Application
         end
 
         digest = Sprockets::Manifest
-          .new(nil, App.assets_manifest_path)
-          .files
-          .values
-          .map {|file| file["digest"]}
-          .join
+                   .new(nil, App.assets_manifest_path)
+                   .files
+                   .values
+                   .map {|file| file["digest"]}
+                   .join
 
         return @@service_worker_cache_name ||= Digest::MD5.hexdigest(digest)
       else
         paths = App.sprockets
-          .each_file
-          .to_a
-          .reject {|file| file.start_with?(App.docs_path)}
+                  .each_file
+                  .to_a
+                  .reject {|file| file.start_with?(App.docs_path)}
 
         return App.sprockets.pack_hexdigest(App.sprockets.files_digest(paths))
       end


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]