ripple-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dansilives...@apache.org
Subject git commit: Fixed "ripple emulate" command with default --path
Date Sun, 12 May 2013 13:10:10 GMT
Updated Branches:
  refs/heads/master 24cae3151 -> 609989250


Fixed "ripple emulate" command with default --path

Due to an addition to help handle remote emulation options.path
was expected to be an array. When no --path was specified that value
was not being set correctly.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ripple/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ripple/commit/60998925
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ripple/tree/60998925
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ripple/diff/60998925

Branch: refs/heads/master
Commit: 60998925059099cbd261afab4419352eb601f3a1
Parents: 24cae31
Author: Dan Silivestru <dan.silivestru@gmail.com>
Authored: Sun May 12 09:08:16 2013 -0400
Committer: Dan Silivestru <dan.silivestru@gmail.com>
Committed: Sun May 12 09:08:16 2013 -0400

----------------------------------------------------------------------
 lib/server/emulate.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/60998925/lib/server/emulate.js
----------------------------------------------------------------------
diff --git a/lib/server/emulate.js b/lib/server/emulate.js
index cec549e..b6df0a0 100644
--- a/lib/server/emulate.js
+++ b/lib/server/emulate.js
@@ -30,7 +30,7 @@ module.exports = {
     start: function (options) {
         var app = server.start(options);
 
-        if (!options.path) { options.path = process.cwd(); }
+        if (!options.path) { options.path = [process.cwd()]; }
 
         if (!options.route) {
             options.route = "/ripple";


Mime
View raw message