lib/jets/builders/code_builder.rb in jets-2.3.11 vs lib/jets/builders/code_builder.rb in jets-2.3.12

- old
+ new

@@ -75,10 +75,11 @@ end end end def exist_on_s3?(filename) + return false if ENV['JETS_BUILD_NO_INTERNET'] s3_key = "jets/code/#{filename}" begin s3.head_object(bucket: s3_bucket, key: s3_key) true rescue Aws::S3::Errors::NotFound @@ -96,11 +97,11 @@ disable_webpacker_middleware copy_internal_jets_code # Code prep and zipping check_code_size! - calculate_md5s # must be called before generate_shims and create_zip_files generate_shims + calculate_md5s # must be called before create_zip_files because checksums need to be populated create_zip_files end def check_code_size! CodeSize.check!