cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kam...@apache.org
Subject cordova-lib git commit: Fix typo: superspwan --> superspawn
Date Sun, 26 Apr 2015 01:37:59 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 860ff12b2 -> dbf54c3c8


Fix typo: superspwan --> superspawn

GitHub: close #210


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

Branch: refs/heads/master
Commit: dbf54c3c8f569f643603b4037c3f829205b523f4
Parents: 860ff12
Author: masonicboom <masonicboom@users.noreply.github.com>
Authored: Sat Apr 25 00:08:19 2015 -0700
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Sat Apr 25 21:37:01 2015 -0400

----------------------------------------------------------------------
 cordova-lib/src/gitclone.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/dbf54c3c/cordova-lib/src/gitclone.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/gitclone.js b/cordova-lib/src/gitclone.js
index 8ddaeb9..cf01a02 100644
--- a/cordova-lib/src/gitclone.js
+++ b/cordova-lib/src/gitclone.js
@@ -22,7 +22,7 @@ var  Q             = require('q'),
      events        = require('./events'),
      path          = require('path'),
      semver        = require('semver'),
-     superspwan    = require('./cordova/superspawn'),
+     superspawn    = require('./cordova/superspawn'),
      os            = require('os');
 
 
@@ -44,7 +44,7 @@ function clone(git_url, git_ref, clone_dir){
     shell.rm('-rf', tmp_dir);
     shell.mkdir('-p', tmp_dir);
 
-    return superspwan.spawn('git', ['--version'])
+    return superspawn.spawn('git', ['--version'])
     .then(function(output) {
         var gitVersion = /\d+\.\d+(\.\d+)?/.exec(output);
         gitVersion = gitVersion ? gitVersion[0] : '1.0.0';
@@ -60,10 +60,10 @@ function clone(git_url, git_ref, clone_dir){
             cloneArgs.push('--depth=1');
         }
         cloneArgs.push('--', git_url, tmp_dir);
-        return superspwan.spawn('git', cloneArgs);
+        return superspawn.spawn('git', cloneArgs);
     }).then(function() {
 	if (needsGitCheckout){
-            return superspwan.spawn('git', ['checkout', git_ref], {
+            return superspawn.spawn('git', ['checkout', git_ref], {
                 cwd: tmp_dir
             });
 	}


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


Mime
View raw message