Skip to content
Browse files

export fetch

  • Loading branch information...
1 parent 32c65da commit ec9d312bddf2084981432b7d6608ecba7764dfc1 Hsiaoming Yang committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/install.js
View
4 lib/install.js
@@ -28,7 +28,7 @@ var store = {
parallel: 1
};
-module.exports = function(options) {
+exports = module.exports = function(options) {
store.parallel = options.parallel || store.parallel;
store.dest = options.dest || store.dest;
store.source = options.source;
@@ -114,6 +114,8 @@ function spmInstall(data, callback) {
});
}
+exports.fetch = fetch;
+
function fetch(query, callback) {
var force = store.force;
log.info('fetch', query);

0 comments on commit ec9d312

Please sign in to comment.
Something went wrong with that request. Please try again.