cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [01/25] cordova-browser git commit: don't exit and don't expect a done()
Date Thu, 25 May 2017 20:38:21 GMT
Repository: cordova-browser
Updated Branches:
  refs/heads/master 84dbb724f -> de5c08a3d


don't exit and don't expect a done()


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

Branch: refs/heads/master
Commit: f1b136d0958d2f85ea4c88f10ab7f757e5363e6c
Parents: 61f71c7
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Thu Apr 6 23:51:12 2017 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Thu Apr 6 23:51:12 2017 -0700

----------------------------------------------------------------------
 bin/create | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/f1b136d0/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index b035022..b835820 100755
--- a/bin/create
+++ b/bin/create
@@ -29,7 +29,7 @@ if(args.length < 3 || (args[2] == '--help' || args[2] == '/?' || args[2]
== '-h'
     console.log('    <path_to_new_project>: Path to your new Cordova Browser project');
     console.log('    <package_name>: Package name, following reverse-domain style convention');
     console.log('    <project_name>: Project name');
-    process.exit(1);
+    process.exitCode = 1;
 } else {
-    create.createProject(args[2], args[3], args[4], args[5]).done();
+    create.createProject(args[2], args[3], args[4], args[5]);
 }


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


Mime
View raw message