Skip to content

Commit

Permalink
[fix] Allow for forever set to include values with / (i.e. direct…
Browse files Browse the repository at this point in the history
…ories)
  • Loading branch information
indexzero committed Jan 13, 2012
1 parent 6bfe071 commit 432a088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ app.cmd('config', cli.config = function () {
// Sets the specified `key` / `value` pair in the
// forever user config.
//
app.cmd('set :key :value', cli.set = function (key, value) {
app.cmd(/set ([\w-_]+) (.+)/, cli.set = function (key, value) {
updateConfig(function () {
forever.log.info('Setting forever config: ' + key.grey);
forever.config.set(key, value);
Expand Down

0 comments on commit 432a088

Please sign in to comment.