mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
lib: remove excess indentation
In anticipation of stricter linting for indentation, remove instances of extra indentation that will be flagged by the new rules. PR-URL: https://github.com/nodejs/node/pull/14090 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
49d13a17b1
commit
0d22858d67
16 changed files with 51 additions and 49 deletions
|
@ -71,8 +71,7 @@ function fatalError(e) {
|
|||
Error.captureStackTrace(o, fatalError);
|
||||
process._rawDebug(o.stack);
|
||||
}
|
||||
if (process.execArgv.some(
|
||||
(e) => /^--abort[_-]on[_-]uncaught[_-]exception$/.test(e))) {
|
||||
if (process.execArgv.some((e) => /^--abort[_-]on[_-]uncaught[_-]exception$/.test(e))) {
|
||||
process.abort();
|
||||
}
|
||||
process.exit(1);
|
||||
|
@ -434,8 +433,8 @@ function init(asyncId, type, triggerAsyncId, resource) {
|
|||
for (var i = 0; i < active_hooks_array.length; i++) {
|
||||
if (typeof active_hooks_array[i][init_symbol] === 'function') {
|
||||
active_hooks_array[i][init_symbol](
|
||||
asyncId, type, triggerAsyncId,
|
||||
resource
|
||||
asyncId, type, triggerAsyncId,
|
||||
resource
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue