Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
install: do not create component.json if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
eldargab committed Mar 7, 2013
1 parent 2a0a46a commit ee97a61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/component-install
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ if (!local) {
pkg = parsePackage(pkg); pkg = parsePackage(pkg);
conf.dependencies[pkg.name] = pkg.version || '*'; conf.dependencies[pkg.name] = pkg.version || '*';
}); });
saveConfig(); if (exists('component.json')) {
saveConfig();
}
} }


// implicit remotes // implicit remotes
Expand Down

0 comments on commit ee97a61

Please sign in to comment.