You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pm...@apache.org on 2012/02/21 05:35:58 UTC

[2/2] weinre commit: fixed a typo

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 <ha...@intel.com>
Authored: Tue Feb 21 10:10:34 2012 +0800
Committer: Haitao Feng <ha...@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')