We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aad102 commit d03fbe1Copy full SHA for d03fbe1
util/has_lib.js
@@ -45,6 +45,8 @@ function hasSystemLib (lib) {
45
}
46
47
// Try checking common library locations
48
+ const libNameRegex = new RegExp(libName)
49
+
50
return SYSTEM_PATHS.some(function (systemPath) {
51
try {
52
var dirListing = fs.readdirSync(systemPath)
0 commit comments