Browse files

[fix] Prefer `-` to `$` in `forever.randomString`

  • Loading branch information...
1 parent 684296a commit 74f314031f5f99bc3d782068175579d873495e06 @indexzero committed Oct 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/forever.js
View
2 lib/forever.js
@@ -799,7 +799,7 @@ forever.cleanLogsSync = function (processes) {
// length ⌈bits/6⌉ of characters from the base64 alphabet.
//
forever.randomString = function (bits) {
- var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_$',
+ var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-',
rand, i, ret = '';
//

0 comments on commit 74f3140

Please sign in to comment.