aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli/viz.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/viz.rb')
-rw-r--r--lib/bundler/cli/viz.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/cli/viz.rb b/lib/bundler/cli/viz.rb
index 7ccd306d..75e6afff 100644
--- a/lib/bundler/cli/viz.rb
+++ b/lib/bundler/cli/viz.rb
@@ -8,7 +8,10 @@ module Bundler
def run
require "graphviz"
+
+ options[:without] = options[:without].join(":").tr(" ", ":").split(":")
output_file = File.expand_path(options[:file])
+
graph = Graph.new(Bundler.load, output_file, options[:version], options[:requirements], options[:format], options[:without])
graph.viz
rescue LoadError => e