Skip to content

Commit

Permalink
[minor] Do not check for a variable twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Oct 30, 2014
1 parent 283f210 commit a2320aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ forever.stat = function (logFile, script, callback) {
//
forever.start = function (script, options) {
if (!options.uid) {
options.uid = options.uid || utile.randomString(4).replace(/^\-/, '_');
options.uid = utile.randomString(4).replace(/^\-/, '_');
}

if (!options.logFile) {
Expand Down

0 comments on commit a2320aa

Please sign in to comment.