module: removed unused variable

The variable problemChecking was not used. Removed it.

PR-URL: https://github.com/nodejs/node/pull/23624
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Martin Omander 2018-10-12 11:44:56 -07:00 committed by Ruben Bridgewater
parent 3f7755b24c
commit 5726173021
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -37,7 +37,7 @@ function search(target, base) {
new URL('./', questionedBase).pathname);
const found = CJSmodule._resolveFilename(target, tmpMod);
error = new ERR_MODULE_RESOLUTION_LEGACY(target, base, found);
} catch (problemChecking) {
} catch {
// ignore
}
throw error;