Sha256: fd484802fa98e9a57bfcc67ad958a82349c014710d02962d60a1b1957c419898
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Bundler module Dependencies class CLI < ::Thor class Graph < Command include CLI::WithGem private def to_s if gems.empty? error("#{gem} is not present in your bundle.") exit(1) end Visitors::ShellTree.new.walk(gems, shell) end def graph gem ? Bundler::Dependencies::Graph.new(specs: [super.find(gem)]) : super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bundler-dependencies-1.0.0 | lib/bundler/dependencies/cli/graph.rb |