Permalink
Browse files

[fix] Update rewriters for cliff to avoid unexpected errors

  • Loading branch information...
1 parent fa5c037 commit cd75d7e1bde6c32ee1ee5cd627b9eaff7bf99b2d @indexzero indexzero committed Aug 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jitsu/commands/config.js
@@ -154,8 +154,8 @@ config.list = function (callback) {
jitsu.log.putObject(jitsu.config.store.store, {
password: function (line) {
- var password = line.match(/password.*\:.*\'(.*)\'/)[1];
- return line.replace(password, '********');
+ var password = line.match(/password.*\:\s(.*)$/)[1];
+ return line.replace(password, "'********'");
}
}, 2);

0 comments on commit cd75d7e

Please sign in to comment.