Skip to content

Commit

Permalink
Remove pretty print
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Jan 23, 2025
1 parent 9e25553 commit b328733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ruby_ast_gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def self.process_file(file_path, output_dir, exclude_regex, base_dir)

output_path = File.join(output_dir, "#{relative_path}.json")

File.write(output_path, JSON.pretty_generate(ast))
File.write(output_path, JSON.generate(ast))
rescue StandardError => e
RubyAstGen::Logger::info "'#{relative_input_path}' - #{e.message}"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_ast_gen/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RubyAstGen
VERSION = "1.0.1"
VERSION = "1.0.2"
end

0 comments on commit b328733

Please sign in to comment.