Comparing version 0.0.3 to 0.0.4
@@ -8,9 +8,8 @@ 'use strict'; | ||
(function resolve(dirpath, _exports) { | ||
_.forEach(fs.readdirSync(dirpath), filename => { | ||
if (path.extname(filename) === '.js' && filename !== 'index.js') { | ||
const jsname = path.basename(filename, '.js'); | ||
_exports[jsname] = require('./' + filename); | ||
} | ||
}); | ||
})(__dirname, exports); | ||
_.forEach(fs.readdirSync(__dirname), filename => { | ||
if (filename === 'index.js') { | ||
return; | ||
} | ||
const jsname = path.basename(filename, '.js'); | ||
exports[jsname] = require('./' + filename); | ||
}); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
const { pod } = require('./'); | ||
const pod = require('./pod'); | ||
@@ -10,0 +10,0 @@ module.exports = function(opts) { |
{ | ||
"name": "kube-tools", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4879
114