Skip to content

Commit d681cb7

Browse files
committed
[fix] Dont allow - in uuids generated by forever. Fixes #66.
1 parent e0c3dcf commit d681cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/forever.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ forever.cleanLogsSync = function (processes) {
448448
// length ⌈bits/6⌉ of characters from the base64 alphabet.
449449
//
450450
forever.randomString = function (bits) {
451-
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+',
451+
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_$',
452452
rand, i, ret = '';
453453

454454
//

0 commit comments

Comments
 (0)