Skip to content

Commit

Permalink
Remove forgotten debug statement in JSON precompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Sep 20, 2021
1 parent d2a7274 commit 0eec665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

* Removed a forgotten debug statement in JSON precompilation.

# 1.9.0

* Added a compilation cache for `JSON.load_file`. (#370)
Expand Down
2 changes: 1 addition & 1 deletion lib/bootsnap/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def precompile_json_files(load_paths, exclude: self.exclude)

def precompile_json(*json_files)
Array(json_files).each do |json_file|
if p(CompileCache::JSON.precompile(json_file, cache_dir: cache_dir))
if CompileCache::JSON.precompile(json_file, cache_dir: cache_dir)
STDERR.puts(json_file) if verbose
end
end
Expand Down

0 comments on commit 0eec665

Please sign in to comment.