Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
lib,src,test: fixing lint errors
Browse files Browse the repository at this point in the history
PR-URL: #454
Reviewed-By: Taylor Woll <tawoll@ntdev.microsoft.com>
  • Loading branch information
kfarnung committed Mar 7, 2018
1 parent e072524 commit 03641d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/internal/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function setupSignalHandlers() {
process.emit('SIGINT');
};

const signum = constants['SIGINT'];
const signum = constants.SIGINT;
const err = wrap.start(signum);
if (err) {
wrap.close();
Expand Down
6 changes: 3 additions & 3 deletions lib/trace_mgr.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ function updateGlobalSampleStats(eventKind) {
currentSampleRate[eventKind] *= emitOptions.backoffFactors[eventKind];

var updateTime = new Date();
emitMinTimeValue['emitOnLogWarn'] = new Date(updateTime);
emitMinTimeValue['emitOnLogError'] = new Date(updateTime);
emitMinTimeValue.emitOnLogWarn = new Date(updateTime);
emitMinTimeValue.emitOnLogError = new Date(updateTime);

if (eventKind === 'emitOnAssert') {
emitMinTimeValue['emitOnAssert'] = updateTime;
emitMinTimeValue.emitOnAssert = updateTime;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ bool s_doTTRecord = false;
bool s_doTTReplay = false;
bool s_doTTEnableDebug = false;
size_t s_ttoptReplayUriLength = 0;
const char* s_ttoptReplayUri = NULL;
const char* s_ttoptReplayUri = nullptr;
uint32_t s_ttdSnapInterval = 2000;
uint32_t s_ttdSnapHistoryLength = 2;
uint64_t s_ttdStartupMode = 0x1;
Expand Down

0 comments on commit 03641d1

Please sign in to comment.