You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ripple.apache.org by da...@apache.org on 2013/05/12 15:10:10 UTC
git commit: Fixed "ripple emulate" command with default --path
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 <da...@gmail.com>
Authored: Sun May 12 09:08:16 2013 -0400
Committer: Dan Silivestru <da...@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";