mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 21:00:04 +02:00
add node modules to repo
This commit is contained in:
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
module.exports = function (str) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return builtinModules.indexOf(str) !== -1;
|
||||
};
|
Reference in New Issue
Block a user