Skip to content

Commit

Permalink
Write CSV to current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Melvin Lammerts committed Nov 24, 2016
1 parent d0c4628 commit fb0910f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vcsmap/csv_writer.rb
Expand Up @@ -9,7 +9,7 @@ def initialize(plugin_name, plugin_header, data)
end

def write!
puts "Writing CSV to #{Helpers.project_directory}/#{@file_path} ..."
puts "Writing CSV to #{@file_path} ..."
CSV.open(@file_path, 'wb', force_quotes: true) do |csv|
csv << @header
@data.each do |line|
Expand All @@ -21,7 +21,7 @@ def write!
private

def folder
'output/'
"#{Dir.pwd}/"
end

def file_path(plugin_name)
Expand Down

0 comments on commit fb0910f

Please sign in to comment.