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

Commit bdb2130

Browse files
committed
lib: disable eslint rule in trace_mgr.js
The error created isn't ever thrown, it's just used to get an approximate stack. PR-URL: #502 Reviewed-By: Seth Brenith <sethb@microsoft.com>
1 parent 038d65b commit bdb2130

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/trace_mgr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ const directIsAbsolute = (process.platform === 'win32') ?
476476
* Create and return a fuzzy stack match for the current call.
477477
*/
478478
function generateFuzzyStack(eventKind) {
479-
//Create an array of the file/lines for user space code in the call stack
479+
// Create an array of the file/lines for user space code in the call stack.
480+
// eslint-disable-next-line no-restricted-syntax
480481
let errstk = new Error()
481482
.stack
482483
.split('\n')

0 commit comments

Comments
 (0)