Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
is-builtin-module
/
index.js
1
'use strict';
2
var builtinModules = require('builtin-modules');
3
4
module.exports = function (str) {
5
if (typeof str !== 'string') {
6
throw new TypeError('Expected a string');
7
}
8
9
return builtinModules.indexOf(str) !== -1;
10
};