Skip to content

Commit

Permalink
require fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jun 14, 2024
1 parent 931a9db commit e162aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kubeGetRepositories.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit e162aa6

Please sign in to comment.