Skip to content

Commit

Permalink
format: don't keep the original source
Browse files Browse the repository at this point in the history
It reduces memory usage.
  • Loading branch information
kou committed Mar 25, 2019
1 parent 34da639 commit c7b5549
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2014-2017 Kouhei Sutou <kou@clear-code.com>
# Copyright (C) 2014-2019 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -95,7 +95,7 @@ def parse_options!(argv)
end

def convert(input)
parser = Parser.new
parser = Parser.new(need_original_source: false)
case @format
when :elasticsearch
parser.on_load_columns do |command, columns|
Expand Down

0 comments on commit c7b5549

Please sign in to comment.