mirror of
https://github.com/S2-/securerandomstring.git
synced 2025-08-03 02:40:04 +02:00
whitespace and ;
This commit is contained in:
@@ -13,11 +13,9 @@ function srs(options, cb) {
|
|||||||
if (cb) {
|
if (cb) {
|
||||||
crypto.randomBytes(length, function(err, buf) {
|
crypto.randomBytes(length, function(err, buf) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return cb(err)
|
return cb(err);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
return cb(null,_finish(buf));
|
return cb(null,_finish(buf));
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// sync path
|
// sync path
|
||||||
|
Reference in New Issue
Block a user