cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [30/32] cordova-fetch git commit: CB-12787: Fix plugin installation with --link option
Date Tue, 06 Jun 2017 00:44:52 GMT
CB-12787: Fix plugin installation with --link option

 This closes #557


Project: http://git-wip-us.apache.org/repos/asf/cordova-fetch/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-fetch/commit/0352f8c8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-fetch/tree/0352f8c8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-fetch/diff/0352f8c8

Branch: refs/heads/master
Commit: 0352f8c8a47912144ae5380a72d0847cb51f4531
Parents: 8fb3834
Author: Nikita Matrosov <v-nimatr@microsoft.com>
Authored: Fri May 12 14:26:05 2017 +0300
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Fri Jun 2 14:36:03 2017 -0700

----------------------------------------------------------------------
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/0352f8c8/index.js
----------------------------------------------------------------------
diff --git a/index.js b/index.js
index 21c2f42..3ef0bf0 100644
--- a/index.js
+++ b/index.js
@@ -38,7 +38,7 @@ var isUrl = require('is-url');
  *
  */
 module.exports = function(target, dest, opts) {
-    var fetchArgs = ['install'];
+    var fetchArgs = opts.link ? ['link'] : ['install'];
     opts = opts || {};
     var tree1;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message