commit | 0352f8c8a47912144ae5380a72d0847cb51f4531 | [log] [tgz] |
---|---|---|
author | Nikita Matrosov <v-nimatr@microsoft.com> | Fri May 12 14:26:05 2017 +0300 |
committer | Steve Gill <stevengill97@gmail.com> | Fri Jun 02 14:36:03 2017 -0700 |
tree | c393dc1fd29ec8a3e8bf5f438a87044ea399938e | |
parent | 8fb383415ea1e8319abe51dfd0118857f8040cc8 [diff] |
CB-12787: Fix plugin installation with --link option This closes #557
diff --git a/index.js b/index.js index 21c2f42..3ef0bf0 100644 --- a/index.js +++ b/index.js
@@ -38,7 +38,7 @@ * */ module.exports = function(target, dest, opts) { - var fetchArgs = ['install']; + var fetchArgs = opts.link ? ['link'] : ['install']; opts = opts || {}; var tree1;