cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject js commit: fixed yet another line ending issue committed by a Mac user who doesn't realize that some of us work on other OS's
Date Wed, 07 Nov 2012 01:57:28 GMT
Updated Branches:
  refs/heads/master 5fb7d762e -> 72bf85c23


fixed yet another line ending issue committed by a Mac user who doesn't realize that some
of us work on other OS's


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/72bf85c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/72bf85c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/72bf85c2

Branch: refs/heads/master
Commit: 72bf85c23f1f5c765be9bc4ff6f5322cb9546c4e
Parents: 5fb7d76
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Nov 6 17:54:15 2012 -0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Nov 6 17:54:15 2012 -0800

----------------------------------------------------------------------
 Jakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/72bf85c2/Jakefile
----------------------------------------------------------------------
diff --git a/Jakefile b/Jakefile
index 5e0da5c..dfe8c5c 100644
--- a/Jakefile
+++ b/Jakefile
@@ -102,7 +102,7 @@ task('build', ['clean', 'hint', 'update-version'], function () {
 
 desc("drops VERSION into JavaScript-based platforms");
 task('update-version', ['set-cwd'], function() {
-    var version = fs.readFileSync("VERSION", "utf-8").toString().split('\n').join('');
+    var version = fs.readFileSync("VERSION", "utf-8").toString().split(/\r?\n/).join('');
 
     // List of files that need to be interpolated with matching regexes
     var files = {


Mime
View raw message