Skip to content

Commit c6a7b51

Browse files
committed
Fix lint issues.
1 parent b25bb9d commit c6a7b51

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* SPDX-License-Identifier: Apache-2.0
1717
*/
1818

19-
// eslint-disable-next-line max-len
19+
// eslint-disable-next-line @stylistic/max-len
2020
const PROPERTY_REGEX = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
2121
const ESCAPE_REGEX = /\\(\\)?/g;
2222

lib/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,5 +797,7 @@ async function _logExit(code) {
797797
logger.end();
798798
});
799799
await p;
800-
} finally {}
800+
} finally {
801+
// contine regardles of error
802+
}
801803
}

lib/loggers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ container.add = function(id) {
8787
const child = createChild.apply(wrapper, [childMeta]);
8888
// if child `defaultMeta` is not set, add it to ensure that the parent
8989
// meta is included
90-
if(!Object.hasOwnProperty(child, 'defaultMeta')) {
90+
if(!Object.prototype.hasOwnProperty.call(child, 'defaultMeta')) {
9191
child.defaultMeta = {...wrapper.defaultMeta, ...childMeta};
9292
}
9393
return child;

0 commit comments

Comments
 (0)