Skip to content

Commit b568571

Browse files
authored
style: disable lint rule
Signed-off-by: Athan <[email protected]>
1 parent b51a043 commit b568571

File tree

1 file changed

+1
-5
lines changed
  • lib/node_modules/@stdlib/fs/resolve-parent-path-by/lib

1 file changed

+1
-5
lines changed

lib/node_modules/@stdlib/fs/resolve-parent-path-by/lib/async.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ function resolveParentPathBy( path, options, predicate, clbk ) {
124124
* @param {boolean} bool - boolean indicating if a path exists
125125
* @returns {void}
126126
*/
127-
function onExists( error, bool ) {
128-
if (error) {
129-
// Log or handle the error
130-
return next();
131-
}
127+
function onExists( error, bool ) { // eslint-disable-line node/handle-callback-err
132128
if ( bool ) {
133129
return test( spath, onTest );
134130
}

0 commit comments

Comments
 (0)