From dbf46c34a75de0fb3debb3d48a83ae5411c75693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Fri, 18 Nov 2011 11:50:13 +0100 Subject: [PATCH] [refactor fix] Pass options to `forever.start` --- lib/forever/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forever/cli.js b/lib/forever/cli.js index bdfca6bf..3f39e5a3 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -428,7 +428,7 @@ app.cmd('help', cli.help = function () { // Remark: this regex matches everything. It has to be added at the end to // make executing other commands possible. // -app.cmd(/(.*)/, cli.start = function (file) { +app.cmd(/(.+)/, cli.start = function (file) { var options = getOptions(file); tryStart(file, options, function () { var monitor = forever.start(file, options);