Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove `COMPONENT_PATH` from output description.

  • Loading branch information...
commit 7b6d22f30d8607726a1a2c117fb6284035442fa3 1 parent 6c413d8
@p-baleine p-baleine authored
Showing with 1 addition and 5 deletions.
  1. +0 −4 bin/component-build
  2. +1 −1  lib/component.js
View
4 bin/component-build
@@ -37,10 +37,6 @@ program.on('--help', function(){
console.log(' # build standalone as window.$');
console.log(' $ component build --standalone $');
console.log();
- console.log(' # add lookup paths');
- console.log(' $ COMPONENT_PATH=lib');
- console.log(' $ component build');
- console.log();
});
// parse argv
View
2  lib/component.js
@@ -62,7 +62,7 @@ exports.lookup = function(pkg, paths){
exports.dependenciesOf = function(pkg, paths, parent){
paths = paths || [];
var path = exports.lookup(pkg, paths);
- if (!path && parent) throw new Error('failed to lookup "' + parent + '"\'s dep "' + pkg + '" within COMPONENT_PATH');
+ if (!path && parent) throw new Error('failed to lookup "' + parent + '"\'s dep "' + pkg + '"');
if (!path) throw new Error('failed to lookup "' + pkg + '"');
var conf = require(resolve(path, 'component.json'));
var deps = [conf.dependencies || {}];
Please sign in to comment.
Something went wrong with that request. Please try again.