Exception: Npmdc::Errors::MissedDependencyError
- Inherits:
-
CheckerError
- Object
- StandardError
- Error
- CheckerError
- Npmdc::Errors::MissedDependencyError
- Defined in:
- lib/npmdc/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from CheckerError
Methods inherited from Error
Constructor Details
This class inherits a constructor from Npmdc::Errors::Error
Instance Method Details
#banner ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/npmdc/errors.rb', line 75 def deps = .fetch(:dependencies) [ "Following dependencies required by your package.json file are"\ " missing or not installed properly:" ] + msgs(deps) << [ "\nRun `npm install` to install #{deps.size} missing packages.", :warn ] end |