incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmue...@apache.org
Subject [2/2] weinre commit: fixed a typo
Date Tue, 21 Feb 2012 04:35:58 GMT
fixed a typo


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/commit/23e971f1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/tree/23e971f1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/diff/23e971f1

Branch: refs/heads/master
Commit: 23e971f1beb3c2931f630681e80f02fb1642fc27
Parents: 528092d
Author: Haitao Feng <haitao.feng@intel.com>
Authored: Tue Feb 21 10:10:34 2012 +0800
Committer: Haitao Feng <haitao.feng@intel.com>
Committed: Tue Feb 21 10:10:34 2012 +0800

----------------------------------------------------------------------
 weinre.server/lib/cli.coffee |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/23e971f1/weinre.server/lib/cli.coffee
----------------------------------------------------------------------
diff --git a/weinre.server/lib/cli.coffee b/weinre.server/lib/cli.coffee
index 2598c68..f34ddeb 100644
--- a/weinre.server/lib/cli.coffee
+++ b/weinre.server/lib/cli.coffee
@@ -104,7 +104,7 @@ getDotWeinreServerProperties = () ->
     properties = {}
     
     fileName = replaceTilde '~/.weinre/server.properties'
-    return options if !path.existsSync(fileName) 
+    return properties if !path.existsSync(fileName)
     
     contents = fs.readFileSync(fileName, 'utf8')
     lines    = contents.split('\n')


Mime
View raw message