You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/11/07 02:57:28 UTC
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
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 <pu...@gmail.com>
Authored: Tue Nov 6 17:54:15 2012 -0800
Committer: Jesse MacFadyen <pu...@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 = {