diff --git a/src/kubeGetRepositories.js b/src/kubeGetRepositories.js index ecd027d7..bc459681 100644 --- a/src/kubeGetRepositories.js +++ b/src/kubeGetRepositories.js @@ -17,9 +17,9 @@ export default async function kubeGetRepositories ({ debug = debug === 'true' || debug === true - const fs = require('fs') - const yaml = require('js-yaml') - const glob = require('glob') + const fs = await import('fs') + const yaml = await import('js-yaml') + const glob = await import('glob') const files = glob.sync(`${directory}/**/*.yaml`) const repos = []